Bläddra i källkod

Browser build fix.

Bruno Garcia 12 år sedan
förälder
incheckning
b791dc3e97
1 ändrade filer med 3 tillägg och 3 borttagningar
  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.";
 	}