Quellcode durchsuchen

optional defaultValue for window.prompt

Nicolas Cannasse vor 12 Jahren
Ursprung
Commit
1838d3abba
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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;