comparison Platforms/Wasm/wasm-application.ts @ 253:8ff70c04c6df am-2

IObservable/IObserver now working in WASM too
author am@osimis.io
date Tue, 03 Jul 2018 10:48:47 +0200
parents ddbb339ed4cf
children 65562a28fe05
comparison
equal deleted inserted replaced
252:40b21c1f8b8d 253:8ff70c04c6df
104 104
105 WasmWebService_NotifySuccess = StoneFrameworkModule.cwrap('WasmWebService_NotifySuccess', null, ['number', 'string', 'array', 'number', 'number']); 105 WasmWebService_NotifySuccess = StoneFrameworkModule.cwrap('WasmWebService_NotifySuccess', null, ['number', 'string', 'array', 'number', 'number']);
106 WasmWebService_NotifyError = StoneFrameworkModule.cwrap('WasmWebService_NotifyError', null, ['number', 'string', 'number']); 106 WasmWebService_NotifyError = StoneFrameworkModule.cwrap('WasmWebService_NotifyError', null, ['number', 'string', 'number']);
107 NotifyUpdateContent = StoneFrameworkModule.cwrap('NotifyUpdateContent', null, []); 107 NotifyUpdateContent = StoneFrameworkModule.cwrap('NotifyUpdateContent', null, []);
108 108
109 StoneFrameworkModule.ccall('WasmWebService_SetBaseUrl', null, ['string'], [orthancBaseUrl]); 109 StoneFrameworkModule.ccall('WasmWebService_SetBaseUri', null, ['string'], [orthancBaseUrl]);
110 110
111 // Prevent scrolling 111 // Prevent scrolling
112 document.body.addEventListener('touchmove', function (event) { 112 document.body.addEventListener('touchmove', function (event) {
113 event.preventDefault(); 113 event.preventDefault();
114 }, false); 114 }, false);