Nicolas Cannasse 19 years ago
parent
commit
7cc736e7ea
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/js/XMLHttpRequest.hx

+ 1 - 1
std/js/XMLHttpRequest.hx

@@ -43,7 +43,7 @@ extern class XMLHttpRequest {
 	function open( method : String, url : String, sync : Bool ) : Void;
 	function send( content : String ) : Void;
 
-	static function __init__() : Void {
+	private static function __init__() : Void {
 		untyped
 		js["XMLHttpRequest"] = if( js.Lib.isIE )
 			function() { return __new__("ActiveXObject","Microsoft.XMLHTTP"); }