Prechádzať zdrojové kódy

[jQuery] Regenerated externs using api.jquery.com v1.12.7. Support jQuery v3.1.0.

Andy Li 9 rokov pred
rodič
commit
bd07371287
2 zmenil súbory, kde vykonal 5 pridanie a 1 odobranie
  1. 1 1
      extra/CHANGES.txt
  2. 4 0
      std/js/jquery/JQuery.hx

+ 1 - 1
extra/CHANGES.txt

@@ -2,7 +2,7 @@
 
 	General improvements and optimizations:
 
-	js : updated jQuery extern (js.jquery.*) for jQuery 1.12.4 / 3.0.0 support.
+	js : updated jQuery extern (js.jquery.*) for jQuery 1.12.4 / 3.1.0 support.
 	js : jQuery extern (js.jquery.*) now includes deprecated fields marked with @:deprecated.
 
 2016-05-27: 3.3.0-RC1

+ 4 - 0
std/js/jquery/JQuery.hx

@@ -217,6 +217,10 @@ package js.jquery;
 	@:overload(function(element:js.html.Element, queueName:String, newQueue:Array<Void -> Void>):js.jquery.JQuery { })
 	@:overload(function(element:js.html.Element, queueName:String, callback:haxe.Constraints.Function):js.jquery.JQuery { })
 	static public function queue(element:js.html.Element, ?queueName:String):Array<Void -> Void>;
+	/**
+		Handles errors thrown synchronously in functions wrapped in <code>jQuery()</code>.
+	**/
+	static public dynamic function readyException(error:js.Error):String;
 	/**
 		Remove a previously-stored piece of data.
 	**/