comparison Platforms/Wasm/wasm-application-runner.ts @ 785:67d0a8da4afe am-dev

made typescript more future-proof (not completed, I finally disabled a few warnings in my tsconfig.json)
author Alain Mazy <alain@mazy.be>
date Mon, 27 May 2019 22:41:51 +0200
parents 28b9e3a54200
children 847fd11384bc
comparison
equal deleted inserted replaced
772:cfb4d39065a4 785:67d0a8da4afe
1 import Stone = require('./stone-framework-loader'); 1 import * as Stone from './stone-framework-loader'
2 import StoneViewport = require('./wasm-viewport'); 2 import * as StoneViewport from './wasm-viewport'
3 import * as Logger from './logger' 3 import * as Logger from './logger'
4 4
5 if (!('WebAssembly' in window)) { 5 if (!('WebAssembly' in window)) {
6 alert('Sorry, your browser does not support WebAssembly :('); 6 alert('Sorry, your browser does not support WebAssembly :(');
7 } 7 }