Mercurial > hg > orthanc-stone
comparison Platforms/WebAssembly/wasm-application.js @ 228:210c1ce8e1a6 am
WasmViewport is no more a singleton
author | am@osimis.io |
---|---|
date | Thu, 14 Jun 2018 15:06:29 +0200 |
parents | c8f11437a6fd |
children | b0ba3b38a23c |
comparison
equal
deleted
inserted
replaced
227:c8f11437a6fd | 228:210c1ce8e1a6 |
---|---|
85 if (parameters.hasOwnProperty(key)) { | 85 if (parameters.hasOwnProperty(key)) { |
86 SetStartupParameter(key, parameters[key]); | 86 SetStartupParameter(key, parameters[key]); |
87 } | 87 } |
88 } | 88 } |
89 | 89 |
90 StartWasmApplication(); | 90 StartWasmApplication(viewport.GetCppViewport()); |
91 /************************************** */ | 91 /************************************** */ |
92 | 92 |
93 UpdateContentThread(); | 93 UpdateContentThread(); |
94 } | 94 } |
95 | 95 |