We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9c00fbd commit 58feb85Copy full SHA for 58feb85
packages/repl/src/lib/Output/Viewer.svelte
@@ -165,9 +165,9 @@
165
const { mount, unmount, App } = __repl_exports;
166
167
168
- window.initialize = (target_src) => {
+ window.initialize = () => {
169
var script = document.createElement('script');
170
- script.src = target_src;
+ script.src = 'https://cdn.jsdelivr.net/npm/[email protected]/public/target.js';
171
script.setAttribute('embedded', 'true');
172
script.setAttribute('cdn', 'https://cdn.jsdelivr.net/npm/chii/public');
173
document.head.appendChild(script);
@@ -182,7 +182,7 @@
182
};
183
184
setTimeout(() => {
185
- window.dispatchEvent(new Event('devtools_ready'));
+ window.dispatchEvent(new Event('preview_ready'));
186
}, 0);
187
}
188
//# sourceURL=playground:output
0 commit comments