Skip to content

Commit a65349d

Browse files
save file
1 parent 0edf31b commit a65349d

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

utils/editors/js-console/v3.0/js-console-v3.0.html

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
<script src="https://cdn.jsdelivr.net/npm/terser/dist/bundle.min.js"></script>
4848

4949

50-
<script src='https://libs.ext-code.com/js/dom/component/component.js'></script>
50+
<script src='https://libs.ext-code.com/js/dom/component/v2.0/component.js'></script>
5151

5252
<script init>
5353
console.clear();
@@ -610,6 +610,19 @@
610610

611611
}//title
612612

613+
//:
614+
615+
616+
window.addEventListener('message',e=>{
617+
618+
var json = e.data;
619+
if(json.sandbox){
620+
output.on.message(json);
621+
}
622+
623+
});
624+
625+
613626
//:
614627

615628

0 commit comments

Comments
 (0)