@@ -58,10 +58,6 @@ Elm.Native.MJS.make = function(elm) {
5858 */
5959 const MJS_DO_ASSERT = true;
6060
61− // Some hacks for running in both the shell and browser,
62− // and for supporting F32 and WebGLFloat arrays
63− try { WebGLFloatArray; } catch (x) { WebGLFloatArray = Float32Array; }
64−
6561 /*
6662 * Constant: MJS_FLOAT_ARRAY_TYPE
6763 *
@@ -72,8 +68,8 @@ Elm.Native.MJS.make = function(elm) {
7268 * MJS_FLOAT_ARRAY_TYPE. Also, the builtin constants such as (M4x4.I)
7369 * will be of this type.
7470 */
75− const MJS_FLOAT_ARRAY_TYPE = WebGLFloatArray;
76− //const MJS_FLOAT_ARRAY_TYPE = Float32Array;
71+ //const MJS_FLOAT_ARRAY_TYPE = WebGLFloatArray;
72+ const MJS_FLOAT_ARRAY_TYPE = Float32Array;
7773 //const MJS_FLOAT_ARRAY_TYPE = Float64Array;
7874 //const MJS_FLOAT_ARRAY_TYPE = Array;
7975