UNPKG

@ima/devtools

Version:

IMA.js debugging panel in the Chrome Developer Tools window.

18 lines (15 loc) 459 B
function runImaAppCode() { return ` (() => { $IMA.Runner.run = (...rest) => { $IMA.Runner.preRunCommands.forEach((command) => { command(...rest); }); $IMA.Runner.originalRun(...rest); }; if ($IMA.Runner.scripts.length !== 0 && $IMA.Runner.scripts.length === $IMA.Runner.loadedScripts.length) { $IMA.Runner.run(); } })();`; } export { runImaAppCode };