js.html.compat is being removed in haxe 4
See https://github.com/HaxeFoundation/haxe/issues/7091
This commit is contained in:
committed by
Joshua Granick
parent
adb0766199
commit
98d8296c06
@@ -575,9 +575,11 @@ class Bytes {
|
||||
|
||||
|
||||
#if !nodejs
|
||||
#if (haxe_ver < 4.0)
|
||||
import js.html.compat.Uint8Array;
|
||||
import js.html.compat.DataView;
|
||||
#end
|
||||
#end
|
||||
|
||||
#if !macro
|
||||
@:autoBuild(lime._internal.macros.AssetsMacro.embedBytes()) // Enable @:bytes embed metadata
|
||||
@@ -1009,4 +1011,4 @@ extern class Bytes {
|
||||
}
|
||||
|
||||
|
||||
#end
|
||||
#end
|
||||
|
||||
Reference in New Issue
Block a user