on master help sign in
get rid of strict mode error
commit2b5f6c98434a4c9db430b2a31fddea2ca0b4c140 authorEvan Czaplicki <info@elm-lang.org> dateTue 6 May 2014, 12:41 (12 years ago) parent979f15e
1 file changed+4−2
libraries/Native/MJS.js+4−2
libraries/Native/MJS.js+4−2
@@ -56,7 +56,7 @@ Elm.Native.MJS.make = function(elm) {
5656 * For potentially more performance, the assert methods can be
5757 * commented out in each place where they are called.
5858 */
59− var MJS_DO_ASSERT = false;
59+ // var MJS_DO_ASSERT = false;
6060
6161 /*
6262 * Constant: MJS_FLOAT_ARRAY_TYPE
@@ -73,6 +73,7 @@ Elm.Native.MJS.make = function(elm) {
7373 //MJS_FLOAT_ARRAY_TYPE = Float64Array;
7474 //MJS_FLOAT_ARRAY_TYPE = Array;
7575
76+ /*
7677 if (MJS_DO_ASSERT) {
7778 function MathUtils_assert(cond, msg) {
7879 if (!cond) {
@@ -80,8 +81,9 @@ Elm.Native.MJS.make = function(elm) {
8081 }
8182 }
8283 } else {
84+ */
8385 function MathUtils_assert() { }
84− }
86+ //}
8587
8688 /*
8789 * Class: V3