From a8908cac9524fabdcf4232c1394a51848f0335af Mon Sep 17 00:00:00 2001 From: natrixaeria Date: Fri, 31 May 2019 14:33:57 +0200 Subject: Create web workers --- WebInterface/wasm/webhogg/graphics.js | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 WebInterface/wasm/webhogg/graphics.js (limited to 'WebInterface/wasm/webhogg/graphics.js') diff --git a/WebInterface/wasm/webhogg/graphics.js b/WebInterface/wasm/webhogg/graphics.js new file mode 100644 index 0000000..f3bab19 --- /dev/null +++ b/WebInterface/wasm/webhogg/graphics.js @@ -0,0 +1,6 @@ +import {default as init_r} from './webhogg.js' +import {init_x} from './webhogg.js' + +let module = init_r('./pkg/webhogg_bg.wasm'); + +init_x(module, 'graphics', null); -- cgit v1.2.3-70-g09d2