Skip to content

Commit 96036c1

Browse files
save file
1 parent 0a423e7 commit 96036c1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

utils/misc/global-state-diff/v2.0/global-state-diff-v2.0.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -264,15 +264,15 @@ <h3>
264264

265265

266266
function process(src){
267-
268-
269-
var iframe = document.createElement('iframe');
267+
console.log('process',src);
268+
269+
var iframe = document.createElement('iframe');
270270
iframe.onload = onload;
271271
document.body.append(iframe);
272272

273273

274274
function onload(){
275-
275+
console.log('onload');
276276
var win = iframe.contentWindow;
277277
var doc = iframe.contentDocument;
278278

@@ -292,7 +292,7 @@ <h3>
292292

293293

294294
script.onload = ()=>{
295-
295+
console.log('script.onload');
296296
var afterKeys = new Set(Object.keys(win));
297297
var added = [...afterKeys].filter(k=>!beforeKeys.has(k));
298298

0 commit comments

Comments
 (0)