js.html.compat is being removed in haxe 4

See https://github.com/HaxeFoundation/haxe/issues/7091
This commit is contained in:
George Corney
2018-09-09 12:15:54 +01:00
committed by Joshua Granick
parent adb0766199
commit 98d8296c06

View File

@@ -575,9 +575,11 @@ class Bytes {
#if !nodejs #if !nodejs
#if (haxe_ver < 4.0)
import js.html.compat.Uint8Array; import js.html.compat.Uint8Array;
import js.html.compat.DataView; import js.html.compat.DataView;
#end #end
#end
#if !macro #if !macro
@:autoBuild(lime._internal.macros.AssetsMacro.embedBytes()) // Enable @:bytes embed metadata @:autoBuild(lime._internal.macros.AssetsMacro.embedBytes()) // Enable @:bytes embed metadata
@@ -1009,4 +1011,4 @@ extern class Bytes {
} }
#end #end