on master help sign in
Merge pull request #714 from michaelbjames/debugger-nonstandard-typeof
0e23d1aEvan Czaplicki
runtime/Init.js−3
@@ -45,9 +45,6 @@ function init(display, container, module, ports, moduleToReplace) {
45 };
45 };
46
46
47 var addDelay = function(d) {
47 var addDelay = function(d) {
48− if (typeof d !== "number") {
49− throw "addDelay must take a number (preferably an int), not: " + d
50− }
51 inducedDelay += d;
48 inducedDelay += d;
52 return inducedDelay;
49 return inducedDelay;
53 }
50 }