changeset 225:930f98252ab9 am

fix
author am@osimis.io
date Thu, 14 Jun 2018 11:22:03 +0200
parents 5fcffbce35a9
children 1fa4c65c7e1b
files Platforms/WebAssembly/wasm-application.ts
diffstat 1 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Platforms/WebAssembly/wasm-application.ts	Thu Jun 14 11:22:03 2018 +0200
@@ -0,0 +1,10 @@
+///<reference path='stone-framework-loader.ts'/>
+
+declare function InitializeWasmApplication() :void; // still in a js file
+
+
+// Wait for the Orthanc Framework to be initialized (this initializes
+// the WebAssembly environment)
+Stone.Framework.Initialize(true, function() {
+    InitializeWasmApplication();
+});
\ No newline at end of file