Explorar o código

Browser build fix.

Bruno Garcia %!s(int64=12) %!d(string=hai) anos
pai
achega
b791dc3e97
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      std/js/Browser.hx

+ 3 - 3
std/js/Browser.hx

@@ -67,11 +67,11 @@ class Browser {
 	 */
 	public static function createXMLHttpRequest() : XMLHttpRequest
 	{
-		if( __js__("typeof XMLHttpRequest") != "undefined" ) {
+		if( untyped __js__("typeof XMLHttpRequest") != "undefined" ) {
 			return new XMLHttpRequest();
 		}
-		if( __js__("typeof ActiveXObject") != "undefined" ) {
-			return __new__("ActiveXObject","Microsoft.XMLHTTP");
+		if( untyped __js__("typeof ActiveXObject") != "undefined" ) {
+			return untyped __new__("ActiveXObject","Microsoft.XMLHTTP");
 		}
 		throw "Unable to create XMLHttpRequest object.";
 	}