Procházet zdrojové kódy

optional defaultValue for window.prompt

Nicolas Cannasse před 12 roky
rodič
revize
1838d3abba
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  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 prompt( message : String, defaultValue : String ) : String;
+	function prompt( message : String, ?defaultValue : String ) : String;
 
 	function releaseEvents() : Void;