Browse Source

optional defaultValue for window.prompt

Nicolas Cannasse 12 years ago
parent
commit
1838d3abba
1 changed files with 1 additions and 1 deletions
  1. 1 1
      std/js/html/DOMWindow.hx

+ 1 - 1
std/js/html/DOMWindow.hx

@@ -412,7 +412,7 @@ extern class DOMWindow extends EventTarget
 
 
 	function print() : Void;
 	function print() : Void;
 
 
-	function prompt( message : String, defaultValue : String ) : String;
+	function prompt( message : String, ?defaultValue : String ) : String;
 
 
 	function releaseEvents() : Void;
 	function releaseEvents() : Void;