diff Platforms/Wasm/stone-framework-loader.ts @ 237:b4642964c355 am

SimpleViewer demo running both with SDL and Wasm
author am@osimis.io
date Wed, 20 Jun 2018 09:03:48 +0200
parents f73d722d98c8
children 126c9c0c9333
line wrap: on
line diff
--- a/Platforms/Wasm/stone-framework-loader.ts	Tue Jun 19 16:06:32 2018 +0200
+++ b/Platforms/Wasm/stone-framework-loader.ts	Wed Jun 20 09:03:48 2018 +0200
@@ -82,7 +82,8 @@
         // Dynamic loading of the JavaScript wrapper around WebAssembly
         var script = document.createElement('script');
         script.type = 'application/javascript';
-        script.src = "orthanc-stone.js"; // ASSETS_FOLDER + '/' + WASM_FILENAME + '.js';
+        //script.src = "orthanc-stone.js"; // ASSETS_FOLDER + '/' + WASM_FILENAME + '.js';
+        script.src = "OrthancStoneSimpleViewer.js"; // ASSETS_FOLDER + '/' + WASM_FILENAME + '.js';
         script.async = true;
         document.head.appendChild(script);
       }