mirror of
https://github.com/cds-astro/aladin-lite.git
synced 2025-12-12 15:49:18 -08:00
simplify new test
This commit is contained in:
committed by
Matthieu Baumann
parent
1271e5f0ac
commit
aa8c31d246
@@ -15,7 +15,7 @@ let aladinLiteEl = document.createElement('div');
|
||||
aladinLiteEl.id = "aladin-lite-div"
|
||||
aladinLiteEl.style = "width: 768px; height: 512px";
|
||||
shadow.appendChild(aladinLiteEl)
|
||||
console.log(aladinLiteEl.getRootNode() instanceof ShadowRoot)
|
||||
|
||||
A.init.then(() => {
|
||||
let aladin = A.aladin(
|
||||
aladinLiteEl,
|
||||
@@ -26,14 +26,7 @@ console.log(aladinLiteEl.getRootNode() instanceof ShadowRoot)
|
||||
target: 'orion', // initial target
|
||||
}
|
||||
);
|
||||
|
||||
//aladin.removeHiPSFromFavorites('CDS/P/allWISE/color')
|
||||
});
|
||||
</script>
|
||||
<style>
|
||||
.aladin-cat-browser-box {
|
||||
width: 600px;
|
||||
}
|
||||
</style>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user