Skip to content

Commit 885b7d9

Browse files
committed
fix bad errors timeout
1 parent 88bbc67 commit 885b7d9

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

build/3.2.1/jquery.jsbox-3.2.1.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ var sandboxEngine = {
392392
message: "<b>Check your Javascript!</b><br>it contains a really bad syntax error!"
393393
});
394394
publish(box, "finish", scope, false);
395-
}, 50);
395+
}, 1e3);
396396
scope.document.open();
397397
scope.document.write([ "<html><head>", styles, "<style>" + source.css + "\n</style>", scripts, supportChaiJS, artifacts, "</head><body>", source.html + "\n", "<script>", "try {" + source.js + "\n} catch(e) {jsbox.sandboxSourceErrors(e)};", "jsbox.syncEnd();", "</script></body></html>" ].join(""));
398398
scope.document.close();

0 commit comments

Comments
 (0)