Restore untyped keyword.

I meant to move this to right before `__js__` because it's only needed in Haxe 3, but forgot. Also, I realized Lime always puts it before the `#if`, so I just put it back where it was.
This commit is contained in:
player-03
2023-04-17 14:23:29 -04:00
committed by GitHub
parent 0535ae0266
commit 9f9604e0c8

View File

@@ -444,7 +444,7 @@ class HTML5HTTPRequest
private static function __loadImage(uri:String, promise:Promise<Image>, options:Int):Void
{
var image:JSImage = #if haxe4 js.Syntax.code #else __js__ #end ('new window.Image ()');
var image:JSImage = untyped #if haxe4 js.Syntax.code #else __js__ #end ('new window.Image ()');
if (!__isSameOrigin(uri))
{