tracing-wasm and init function

This commit is contained in:
Simon Gardling
2022-02-23 09:56:44 -05:00
parent 42015c27a7
commit 6ab99329b2
3 changed files with 18 additions and 4 deletions

View File

@@ -27,7 +27,6 @@ export function main() {
/** This function is used in `bootstrap.js` to setup imports. */
export function setup(WasmChart) {
ChartManager = WasmChart;
ChartManager.init_panic_hook(); // Allows `panic!()` to log in the browser's console
}
/** Add event listeners. */