Explorar o código

reverted to use Nicolas's logic

Andy Li %!s(int64=10) %!d(string=hai) anos
pai
achega
6f7d9912c4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      std/js/html/compat/Float64Array.hx

+ 1 - 1
std/js/html/compat/Float64Array.hx

@@ -110,7 +110,7 @@ class Float64Array {
 	}
 
 	static function __init__() {
-		var Float64Array = untyped Function("return typeof Float64Array != 'undefined' ? Float64Array : (typeof Float32Array != 'undefined' ? Float32Array : null)")() || _new;
+		var Float64Array = untyped Function("return typeof Float64Array != 'undefined' ? Float64Array : (typeof Float32Array != 'undefined' ? 'notsupported' : null)")() || _new;
 	}
 
 }