Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
runtime.module(notebook, name => {
switch (name) {
case 'chart':
// render 'chart' notebook cell into <div id="joyplot"></div>
return new Inspector(document.querySelector('#joyplot'));
break;
}
});
}
const main = runtime.module(notebook, name => {
switch (name) {
case 'chart':
// render 'chart' notebook cell into <div id="joyplot"></div>
return new Inspector(document.querySelector('#joyplot'));
break;
}
});
this.observer = dom => {
return new Inspector(dom);
};