.esm suffix for module bundle, marked/highlight.js are installed via npm
This commit is contained in:
		| @@ -38,15 +38,15 @@ | ||||
|  | ||||
| 		<script type="module"> | ||||
|  | ||||
| 			import Reveal from '../dist/reveal.js'; | ||||
| 			import zoom from '../plugin/zoom/zoom.js'; | ||||
| 			import Reveal from '../dist/reveal.esm.js'; | ||||
| 			import Zoom from '../dist/plugin/zoom.esm.js'; | ||||
|  | ||||
| 			QUnit.module( 'Multiple reveal.js instances' ); | ||||
|  | ||||
| 			let r1 = new Reveal( document.querySelector( '.deck1 .reveal' ), { | ||||
| 				embedded: true, | ||||
| 				keyboard: true, | ||||
| 				plugins: [zoom()] | ||||
| 				plugins: [ Zoom ] | ||||
| 			} ); | ||||
| 			r1.initialize(); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user