Browse Source

keep DataView only if we use Float32Array or Float64Array (see #4259)

Simon Krajewski 10 years ago
parent
commit
f5759d36bb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/js/html/compat/DataView.hx

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

@@ -22,7 +22,7 @@
 package js.html.compat;
 import haxe.io.Error;
 
-@:keep
+@:ifFeature("haxe.io.Float32Array.*", "haxe.io.Float64Array.*")
 @:access(js.html.compat.ArrayBuffer)
 class DataView {