mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2025-12-12 15:49:18 -08:00
fix: import A when it is necessary
This commit is contained in:
committed by
Matthieu Baumann
parent
fa52c39d7c
commit
4808f84b37
@@ -7,6 +7,7 @@
|
|||||||
|
|
||||||
<script type="module">
|
<script type="module">
|
||||||
import A from '../src/js/A.js';
|
import A from '../src/js/A.js';
|
||||||
|
|
||||||
let aladin;
|
let aladin;
|
||||||
A.init.then(() => {
|
A.init.then(() => {
|
||||||
aladin = A.aladin(
|
aladin = A.aladin(
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ import { Coo } from "./libs/astro/coo.js";
|
|||||||
import { VOTable } from "./vo/VOTable.js";
|
import { VOTable } from "./vo/VOTable.js";
|
||||||
import { ALEvent } from "./events/ALEvent.js";
|
import { ALEvent } from "./events/ALEvent.js";
|
||||||
import { Footprint } from "./Footprint.js";
|
import { Footprint } from "./Footprint.js";
|
||||||
|
import A from "./A.js";
|
||||||
|
|
||||||
import $ from 'jquery';
|
import $ from 'jquery';
|
||||||
|
|
||||||
@@ -292,7 +293,6 @@ export let Catalog = (function() {
|
|||||||
// return an array of Source(s) from a VOTable url
|
// return an array of Source(s) from a VOTable url
|
||||||
// callback function is called each time a TABLE element has been parsed
|
// callback function is called each time a TABLE element has been parsed
|
||||||
Catalog.parseVOTable = function(url, successCallback, errorCallback, maxNbSources, useProxy, raField, decField) {
|
Catalog.parseVOTable = function(url, successCallback, errorCallback, maxNbSources, useProxy, raField, decField) {
|
||||||
console.log(url)
|
|
||||||
VOTable.parse(
|
VOTable.parse(
|
||||||
url,
|
url,
|
||||||
(fields, rows) => {
|
(fields, rows) => {
|
||||||
|
|||||||
@@ -29,6 +29,7 @@
|
|||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
import { GenericPointer } from "./GenericPointer.js";
|
import { GenericPointer } from "./GenericPointer.js";
|
||||||
|
import A from "./A.js";
|
||||||
|
|
||||||
export let DefaultActionsForContextMenu = (function () {
|
export let DefaultActionsForContextMenu = (function () {
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,5 @@
|
|||||||
|
import A from "./A.js";
|
||||||
|
|
||||||
export let DiscoveryTree = (function () {
|
export let DiscoveryTree = (function () {
|
||||||
// Constructor
|
// Constructor
|
||||||
var DiscoveryTree = function (aladin) {
|
var DiscoveryTree = function (aladin) {
|
||||||
|
|||||||
@@ -30,10 +30,9 @@
|
|||||||
*
|
*
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|
||||||
import { AladinUtils } from "./AladinUtils.js";
|
|
||||||
import { Footprint } from "./Footprint.js";
|
|
||||||
import { Line } from './Line.js';
|
|
||||||
import { Utils } from './Utils.js';
|
import { Utils } from './Utils.js';
|
||||||
|
import A from "./A.js";
|
||||||
|
|
||||||
|
|
||||||
export let Overlay = (function() {
|
export let Overlay = (function() {
|
||||||
let Overlay = function(options) {
|
let Overlay = function(options) {
|
||||||
|
|||||||
@@ -17,6 +17,7 @@
|
|||||||
// along with Aladin Lite.
|
// along with Aladin Lite.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
import A from "../A.js";
|
||||||
import { MocServer } from "../MocServer";
|
import { MocServer } from "../MocServer";
|
||||||
import { Utils } from "../Utils";
|
import { Utils } from "../Utils";
|
||||||
import autocomplete from 'autocompleter';
|
import autocomplete from 'autocompleter';
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ import { Color } from "../Color.js";
|
|||||||
import { ALEvent } from "../events/ALEvent.js";
|
import { ALEvent } from "../events/ALEvent.js";
|
||||||
import { CatalogSelector } from "./CatalogSelector.js";
|
import { CatalogSelector } from "./CatalogSelector.js";
|
||||||
import { HiPSLayer } from "./HiPSLayer.js";
|
import { HiPSLayer } from "./HiPSLayer.js";
|
||||||
|
import A from "../A.js";
|
||||||
|
|
||||||
import $ from 'jquery';
|
import $ from 'jquery';
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user