mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2025-12-12 07:40:26 -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">
|
||||
import A from '../src/js/A.js';
|
||||
|
||||
let aladin;
|
||||
A.init.then(() => {
|
||||
aladin = A.aladin(
|
||||
|
||||
@@ -36,6 +36,7 @@ import { Coo } from "./libs/astro/coo.js";
|
||||
import { VOTable } from "./vo/VOTable.js";
|
||||
import { ALEvent } from "./events/ALEvent.js";
|
||||
import { Footprint } from "./Footprint.js";
|
||||
import A from "./A.js";
|
||||
|
||||
import $ from 'jquery';
|
||||
|
||||
@@ -292,7 +293,6 @@ export let Catalog = (function() {
|
||||
// return an array of Source(s) from a VOTable url
|
||||
// callback function is called each time a TABLE element has been parsed
|
||||
Catalog.parseVOTable = function(url, successCallback, errorCallback, maxNbSources, useProxy, raField, decField) {
|
||||
console.log(url)
|
||||
VOTable.parse(
|
||||
url,
|
||||
(fields, rows) => {
|
||||
|
||||
@@ -29,6 +29,7 @@
|
||||
*****************************************************************************/
|
||||
|
||||
import { GenericPointer } from "./GenericPointer.js";
|
||||
import A from "./A.js";
|
||||
|
||||
export let DefaultActionsForContextMenu = (function () {
|
||||
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
import A from "./A.js";
|
||||
|
||||
export let DiscoveryTree = (function () {
|
||||
// Constructor
|
||||
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 A from "./A.js";
|
||||
|
||||
|
||||
export let Overlay = (function() {
|
||||
let Overlay = function(options) {
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
// along with Aladin Lite.
|
||||
//
|
||||
|
||||
import A from "../A.js";
|
||||
import { MocServer } from "../MocServer";
|
||||
import { Utils } from "../Utils";
|
||||
import autocomplete from 'autocompleter';
|
||||
|
||||
@@ -33,6 +33,7 @@ import { Color } from "../Color.js";
|
||||
import { ALEvent } from "../events/ALEvent.js";
|
||||
import { CatalogSelector } from "./CatalogSelector.js";
|
||||
import { HiPSLayer } from "./HiPSLayer.js";
|
||||
import A from "../A.js";
|
||||
|
||||
import $ from 'jquery';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user