two js bundles; reveal.js (es6) and reveal.es5.js, add source maps

This commit is contained in:
Hakim El Hattab
2020-04-17 10:59:55 +02:00
parent d9690462e0
commit 4f6bdf1420
31 changed files with 155 additions and 52 deletions

View File

@ -36,8 +36,9 @@
</div>
</div>
<script src="../dist/reveal.min.js"></script>
<script>
<script type="module">
import Reveal from '../dist/reveal.js';
QUnit.module( 'Multiple reveal.js instances' );
@ -71,6 +72,11 @@
});
</script>
<script>
QUnit.test( 'Reveal does not leak to window', function( assert ) {
assert.strictEqual( window.Reveal, undefined );
});
</script>
</body>
</html>