We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 758c880 commit 037eebaCopy full SHA for 037eeba
utils/editors/js-console/html/output-console/v2.0/output-console-v2.0.html
@@ -271,7 +271,7 @@
271
272
273
obj.run.iframe2 = async function(js,params={}){
274
- console.log('run.iframe');
+ console.log('run.iframe2');
275
var resolve,promise=new Promise(res=>resolve=res);
276
277
if(iframe){
@@ -285,6 +285,7 @@
285
iframe = document.createElement('iframe');
286
obj.iframe = iframe;
287
iframe.sandbox = 'sandbox="allow-scripts allow-same-origin"';
288
+ var html = '';
289
iframe.srcdoc = `<script>${js}</scr`+`ipt>`;
290
iframe.onload = onload;
291
cur.root.append(iframe);
0 commit comments