mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2026-01-06 10:06:13 -08:00
use vite producing es and umd aladin lite module types. The umd is consistent with what is being used since a long time (including manually the aladin lite script)
This commit is contained in:
committed by
Matthieu Baumann
parent
6b0f4e4b60
commit
bcfe829b03
@@ -5,10 +5,10 @@
|
||||
<body>
|
||||
<div id="aladin-lite-div" style="width: 500px; height: 400px"></div>
|
||||
<div id='aladin-statsDiv'></div>
|
||||
<script type="text/javascript" src="./../aladin.js" charset="utf-8"></script>
|
||||
<div id='buttons'></div>
|
||||
|
||||
<script type="text/javascript">
|
||||
<script type="module">
|
||||
import A from '../src/js/A.js';
|
||||
A.init.then(() => {
|
||||
var a = A.aladin('#aladin-lite-div', {target: '03 47 00.00 +24 07 00.0', survey: 'P/DSS2/color', zoom: 2, showReticle: false});
|
||||
var cat = A.catalog({color: 'red', onClick: 'showTable'});
|
||||
|
||||
Reference in New Issue
Block a user