on master help sign in
get rid of strict mode error
2b5f6c9Evan Czaplicki
libraries/Native/MJS.js+4−2
@@ -56,7 +56,7 @@ Elm.Native.MJS.make = function(elm) {
56 * For potentially more performance, the assert methods can be
56 * For potentially more performance, the assert methods can be
57 * commented out in each place where they are called.
57 * commented out in each place where they are called.
58 */
58 */
59− var MJS_DO_ASSERT = false;
59+ // var MJS_DO_ASSERT = false;
60
60
61 /*
61 /*
62 * Constant: MJS_FLOAT_ARRAY_TYPE
62 * Constant: MJS_FLOAT_ARRAY_TYPE
@@ -73,6 +73,7 @@ Elm.Native.MJS.make = function(elm) {
73 //MJS_FLOAT_ARRAY_TYPE = Float64Array;
73 //MJS_FLOAT_ARRAY_TYPE = Float64Array;
74 //MJS_FLOAT_ARRAY_TYPE = Array;
74 //MJS_FLOAT_ARRAY_TYPE = Array;
75
75
76+ /*
76 if (MJS_DO_ASSERT) {
77 if (MJS_DO_ASSERT) {
77 function MathUtils_assert(cond, msg) {
78 function MathUtils_assert(cond, msg) {
78 if (!cond) {
79 if (!cond) {
@@ -80,8 +81,9 @@ Elm.Native.MJS.make = function(elm) {
80 }
81 }
81 }
82 }
82 } else {
83 } else {
84+ */
83 function MathUtils_assert() { }
85 function MathUtils_assert() { }
84− }
86+ //}
85
87
86 /*
88 /*
87 * Class: V3
89 * Class: V3