Merge pull request #714 from michaelbjames/debugger-nonstandard-typeof
typeof checked against a non-standard string, best not to throw an error at all
commit0e23d1a6a196fa8d5a3114faf59c943d7d5c6603
authorEvan Czaplicki <info@elm-lang.org>
dateTue 29 Jul 2014, 14:27 (12 years ago)
parentb2765762be5ff0
runtime/Init.js−3
@@ -45,9 +45,6 @@ function init(display, container, module, ports, moduleToReplace) {
4545 };
4646
4747 var addDelay = function(d) {
48− if (typeof d !== "number") {
49− throw "addDelay must take a number (preferably an int), not: " + d
50− }
5148 inducedDelay += d;
5249 return inducedDelay;
5350 }