File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
packages/repl/src/lib/Output Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 2828 export let theme: ' light' | ' dark' ;
2929 /** A store containing the current bundle result. Takes precedence over REPL context, if set */
3030 export let bundle: Writable <Bundle | null > | undefined = undefined ;
31+ /** Called everytime a log is pushed. If this is set, the built-in console coming with the Viewer isn't shown */
32+ export let onLog: ((logs : Log []) => void ) | undefined = undefined ;
3133
3234 const context = get_repl_context ();
3335 bundle = bundle ?? context .bundle ;
109111 await proxy ?.eval (`
110112 ${injectedJS }
111113
112- const chobitsu_scr = document.createElement('script');
113- chobitsu_scr.src = 'https://cdn.jsdelivr.net/npm/chobitsu';
114- document.body.appendChild(chobitsu_scr);
115-
116114 if (!window.__setup_focus_handling) {
117115 let can_focus = false;
118116
You can’t perform that action at this time.
0 commit comments