Mercurial > hg > orthanc-stone
annotate Platforms/WebAssembly/wasm-application.ts @ 226:1fa4c65c7e1b am
WasmViewport in ts
author | am@osimis.io |
---|---|
date | Thu, 14 Jun 2018 12:32:08 +0200 |
parents | 930f98252ab9 |
children | b0ba3b38a23c |
rev | line source |
---|---|
225 | 1 ///<reference path='stone-framework-loader.ts'/> |
2 | |
3 declare function InitializeWasmApplication() :void; // still in a js file | |
4 | |
5 | |
226 | 6 |
7 | |
225 | 8 // Wait for the Orthanc Framework to be initialized (this initializes |
9 // the WebAssembly environment) | |
10 Stone.Framework.Initialize(true, function() { | |
11 InitializeWasmApplication(); | |
12 }); |