Skip to content

Commit 27735fe

Browse files
committed
took ES module demo out
for #2476 since not working
1 parent 8dee069 commit 27735fe

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

demo/esmodule.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<h1>ES Module loading demo</h1>
1414
<div class="grid-stack"></div>
1515

16-
<!-- loading GS as an ES module instead of commonjs all.js. get CORS error though -->
16+
<!-- loading GS as an ES module instead of commonjs all.js. doesn't work (see #2476) and get CORS error locally -->
1717
<script type="module">
1818
import { GridStack } from '../dist/gridstack.js';
1919

demo/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ <h1>Demos</h1>
1212
<li><a href="anijs.html">AniJS</a></li>
1313
<li><a href="cell-height.html">Cell Height</a></li>
1414
<li><a href="column.html">Column</a></li>
15+
<!-- <li><a href="esmodule.html">ES Module test</a></li> -->
1516
<li><a href="float.html">Float grid</a></li>
1617
<li><a href="knockout.html">Knockout.js</a></li>
1718
<li><a href="mobile.html">Mobile touch</a></li>
@@ -38,7 +39,6 @@ <h1>Demos</h1>
3839
<li><a href="web-comp.html">Web Component</a></li>
3940
<li><a href="web1.html">Website demo 1</a></li>
4041
<li><a href="web2.html">Website demo 2</a></li>
41-
<li><a href="esmodule.html">ES Module test</a></li>
4242
</ul>
4343
<h1>Angular wrapper</h1>
4444
<p>We now ship an <a href="https://github.com/gridstack/gridstack.js/tree/master/angular/" target="_blank">Angular Component</a>

0 commit comments

Comments
 (0)