tracing-wasm and init function
This commit is contained in:
@@ -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. */
|
||||
|
||||
Reference in New Issue
Block a user