scichart
Version:
Fast WebGL JavaScript Charting Library and Framework
12 lines (11 loc) • 423 B
JavaScript
;
// patch the internal Emscripten runtime table to pass in Module.canvas as the specialHtmlTarget[0]
// Requires EXPORTED_RUNTIME_METHODS='specialHTMLTargets' in makefile
Object.defineProperty(exports, "__esModule", { value: true });
exports.preRun = void 0;
// @ts-ignore
/** @ignore */
var preRun = function (Module) {
Module.specialHTMLTargets[0] = Module.canvas;
};
exports.preRun = preRun;