Browse Source

fixed flag meaning.

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

+ 1 - 1
std/js/XMLHttpRequest.hx

@@ -40,7 +40,7 @@ extern class XMLHttpRequest {
 	function getAllResponseHeaders() : String;
 	function getAllResponseHeaders() : String;
 	function getResponseHeader( name : String ) : String;
 	function getResponseHeader( name : String ) : String;
 	function setRequestHeader( name : String, value : String ) : Void;
 	function setRequestHeader( name : String, value : String ) : Void;
-	function open( method : String, url : String, sync : Bool ) : Void;
+	function open( method : String, url : String, async : Bool ) : Void;
 	function send( content : String ) : Void;
 	function send( content : String ) : Void;
 
 
 	private static function __init__() : Void {
 	private static function __init__() : Void {