Skip to content

Commit 037eeba

Browse files
save file
1 parent 758c880 commit 037eeba

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utils/editors/js-console/html/output-console/v2.0/output-console-v2.0.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@
271271

272272

273273
obj.run.iframe2 = async function(js,params={}){
274-
console.log('run.iframe');
274+
console.log('run.iframe2');
275275
var resolve,promise=new Promise(res=>resolve=res);
276276

277277
if(iframe){
@@ -285,6 +285,7 @@
285285
iframe = document.createElement('iframe');
286286
obj.iframe = iframe;
287287
iframe.sandbox = 'sandbox="allow-scripts allow-same-origin"';
288+
var html = '';
288289
iframe.srcdoc = `<script>${js}</scr`+`ipt>`;
289290
iframe.onload = onload;
290291
cur.root.append(iframe);

0 commit comments

Comments
 (0)