浏览代码

reverted to use Nicolas's logic

Andy Li 10 年之前
父节点
当前提交
6f7d9912c4
共有 1 个文件被更改,包括 1 次插入1 次删除
  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;
 	}
 
 }