2 * Copyright 2011 The Closure Compiler Authors.
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
18 * @fileoverview Externs for jQuery 1.9.1
20 * Note that some functions use different return types depending on the number
21 * of parameters passed in. In these cases, you may need to annotate the type
22 * of the result in your code, so the JSCompiler understands which type you're
23 * expecting. For example:
24 * <code>var elt = /** @type {Element} * / (foo.get(0));</code>
26 * @see http://api.jquery.com/
31 * @typedef {(Window|Document|Element|Array.<Element>|string|jQuery|
36 /** @typedef {function(...)|Array.<function(...)>} */
41 accepts: (Object.<string, string>|undefined),
42 async: (?boolean|undefined),
43 beforeSend: (function(jQuery.jqXHR, (jQueryAjaxSettings|Object.<string, *>))|undefined),
44 cache: (?boolean|undefined),
45 complete: (function(jQuery.jqXHR, string)|undefined),
46 contents: (Object.<string, RegExp>|undefined),
47 contentType: (?string|undefined),
48 context: (Object.<?, ?>|jQueryAjaxSettings|undefined),
49 converters: (Object.<string, Function>|undefined),
50 crossDomain: (?boolean|undefined),
51 data: (Object.<?, ?>|?string|Array.<?>|undefined),
52 dataFilter: (function(string, string):?|undefined),
53 dataType: (?string|undefined),
54 error: (function(jQuery.jqXHR, string, string)|undefined),
55 global: (?boolean|undefined),
56 headers: (Object.<?, ?>|undefined),
57 ifModified: (?boolean|undefined),
58 isLocal: (?boolean|undefined),
59 jsonp: (?string|undefined),
60 jsonpCallback: (?string|function()|undefined),
61 mimeType: (?string|undefined),
62 password: (?string|undefined),
63 processData: (?boolean|undefined),
64 scriptCharset: (?string|undefined),
65 statusCode: (Object.<number, function()>|undefined),
66 success: (function(?, string, jQuery.jqXHR)|undefined),
67 timeout: (?number|undefined),
68 traditional: (?boolean|undefined),
69 type: (?string|undefined),
70 url: (?string|undefined),
71 username: (?string|undefined),
72 xhr: (function():(ActiveXObject|XMLHttpRequest)|undefined),
73 xhrFields: (Object.<?, ?>|undefined)
75 var jQueryAjaxSettings;
79 * @param {(jQuerySelector|Element|Object|Array.<Element>|jQuery|string|
81 * @param {(Element|jQuery|Document|
82 * Object.<string, (string|function(!jQuery.event=))>)=} arg2
85 function jQuery(arg1, arg2) {}
90 * @param {(jQuerySelector|Element|Object|Array.<Element>|jQuery|string|
92 * @param {(Element|jQuery|Document|
93 * Object.<string, (string|function(!jQuery.event=))>)=} arg2
96 function $(arg1, arg2) {}
99 * @param {(jQuerySelector|Array.<Element>|string|jQuery)} arg1
100 * @param {Element=} context
104 jQuery.prototype.add = function(arg1, context) {};
107 * @param {(jQuerySelector|Array.<Element>|string|jQuery)=} arg1
111 jQuery.prototype.addBack = function(arg1) {};
114 * @param {(string|function(number,String))} arg1
117 jQuery.prototype.addClass = function(arg1) {};
120 * @param {(string|Element|jQuery|function(number))} arg1
121 * @param {(string|Element|Array.<Element>|jQuery)=} content
124 jQuery.prototype.after = function(arg1, content) {};
127 * @param {(string|jQueryAjaxSettings|Object.<string,*>)} arg1
128 * @param {(jQueryAjaxSettings|Object.<string, *>)=} settings
129 * @return {jQuery.jqXHR}
131 jQuery.ajax = function(arg1, settings) {};
134 * @param {(string|jQueryAjaxSettings|Object.<string, *>)} arg1
135 * @param {(jQueryAjaxSettings|Object.<string, *>)=} settings
136 * @return {jQuery.jqXHR}
138 $.ajax = function(arg1, settings) {};
141 * @param {function(!jQuery.event,XMLHttpRequest,(jQueryAjaxSettings|Object.<string, *>))} handler
144 jQuery.prototype.ajaxComplete = function(handler) {};
147 * @param {function(!jQuery.event,jQuery.jqXHR,(jQueryAjaxSettings|Object.<string, *>),*)} handler
150 jQuery.prototype.ajaxError = function(handler) {};
153 * @param {(string|function((jQueryAjaxSettings|Object.<string, *>),(jQueryAjaxSettings|Object.<string, *>),jQuery.jqXHR))} dataTypes
154 * @param {function((jQueryAjaxSettings|Object.<string, *>),(jQueryAjaxSettings|Object.<string, *>),jQuery.jqXHR)=} handler
156 jQuery.ajaxPrefilter = function(dataTypes, handler) {};
159 * @param {(string|function((jQueryAjaxSettings|Object.<string, *>),(jQueryAjaxSettings|Object.<string, *>),jQuery.jqXHR))} dataTypes
160 * @param {function((jQueryAjaxSettings|Object.<string, *>),(jQueryAjaxSettings|Object.<string, *>),jQuery.jqXHR)=} handler
162 $.ajaxPrefilter = function(dataTypes, handler) {};
165 * @param {function(!jQuery.event,jQuery.jqXHR,(jQueryAjaxSettings|Object.<string, *>))} handler
168 jQuery.prototype.ajaxSend = function(handler) {};
170 /** @const {jQueryAjaxSettings|Object.<string, *>} */
173 /** @const {jQueryAjaxSettings|Object.<string, *>} */
176 /** @type {Object.<string, boolean>} */
177 jQuery.ajaxSettings.flatOptions = {};
179 /** @type {Object.<string, boolean>} */
180 $.ajaxSettings.flatOptions = {};
182 /** @type {boolean} */
183 jQuery.ajaxSettings.processData;
185 /** @type {boolean} */
186 $.ajaxSettings.processData;
188 /** @type {Object.<string, string>} */
189 jQuery.ajaxSettings.responseFields = {};
191 /** @type {Object.<string, string>} */
192 $.ajaxSettings.responseFields = {};
194 /** @param {jQueryAjaxSettings|Object.<string, *>} options */
195 jQuery.ajaxSetup = function(options) {};
197 /** @param {jQueryAjaxSettings|Object.<string, *>} options */
198 $.ajaxSetup = function(options) {};
201 * @param {function()} handler
204 jQuery.prototype.ajaxStart = function(handler) {};
207 * @param {function()} handler
210 jQuery.prototype.ajaxStop = function(handler) {};
213 * @param {function(!jQuery.event,XMLHttpRequest,(jQueryAjaxSettings|Object.<string, *>), ?)} handler
216 jQuery.prototype.ajaxSuccess = function(handler) {};
219 * @deprecated Please use .addBack(selector) instead.
223 jQuery.prototype.andSelf = function() {};
226 * @param {Object.<string,*>} properties
227 * @param {(string|number|function()|Object.<string,*>)=} arg2
228 * @param {(string|function())=} easing
229 * @param {function()=} complete
232 jQuery.prototype.animate = function(properties, arg2, easing, complete) {};
235 * @param {(string|Element|Array.<Element>|jQuery|function(number,string))} arg1
236 * @param {...(string|Element|Array.<Element>|jQuery)} content
239 jQuery.prototype.append = function(arg1, content) {};
242 * @param {(jQuerySelector|Element|jQuery)} target
245 jQuery.prototype.appendTo = function(target) {};
248 * @param {(string|Object.<string,*>)} arg1
249 * @param {(string|number|boolean|function(number,string))=} arg2
250 * @return {(string|!jQuery)}
252 jQuery.prototype.attr = function(arg1, arg2) {};
255 * @param {(string|Element|jQuery|function())} arg1
256 * @param {(string|Element|Array.<Element>|jQuery)=} content
259 jQuery.prototype.before = function(arg1, content) {};
262 * @param {(string|Object.<string, function(!jQuery.event=)>)} arg1
263 * @param {(Object.<string, *>|function(!jQuery.event=)|boolean)=} eventData
264 * @param {(function(!jQuery.event=)|boolean)=} arg3
267 jQuery.prototype.bind = function(arg1, eventData, arg3) {};
270 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
271 * @param {function(!jQuery.event=)=} handler
274 jQuery.prototype.blur = function(arg1, handler) {};
280 jQuery.callbacks = function () {};
283 * @param {string=} flags
284 * @return {jQuery.callbacks}
286 jQuery.Callbacks = function (flags) {};
288 /** @param {function()} callbacks */
289 jQuery.callbacks.prototype.add = function(callbacks) {};
291 /** @return {undefined} */
292 jQuery.callbacks.prototype.disable = function() {};
294 /** @return {undefined} */
295 jQuery.callbacks.prototype.empty = function() {};
297 /** @param {...*} var_args */
298 jQuery.callbacks.prototype.fire = function(var_args) {};
300 /** @return {boolean} */
301 jQuery.callbacks.prototype.fired = function() {};
303 /** @param {...*} var_args */
304 jQuery.callbacks.prototype.fireWith = function(var_args) {};
307 * @param {function()} callback
311 jQuery.callbacks.prototype.has = function(callback) {};
313 /** @return {undefined} */
314 jQuery.callbacks.prototype.lock = function() {};
316 /** @return {boolean} */
317 jQuery.callbacks.prototype.locked = function() {};
319 /** @param {function()} callbacks */
320 jQuery.callbacks.prototype.remove = function(callbacks) {};
323 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
324 * @param {function(!jQuery.event=)=} handler
327 jQuery.prototype.change = function(arg1, handler) {};
330 * @param {jQuerySelector=} selector
334 jQuery.prototype.children = function(selector) {};
337 * @param {string=} queueName
340 jQuery.prototype.clearQueue = function(queueName) {};
343 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
344 * @param {function(!jQuery.event=)=} handler
347 jQuery.prototype.click = function(arg1, handler) {};
350 * @param {boolean=} withDataAndEvents
351 * @param {boolean=} deepWithDataAndEvents
353 * @suppress {checkTypes} see https://code.google.com/p/closure-compiler/issues/detail?id=583
355 jQuery.prototype.clone = function(withDataAndEvents, deepWithDataAndEvents) {};
358 * @param {(jQuerySelector|jQuery|Element|string)} arg1
359 * @param {Element=} context
363 jQuery.prototype.closest = function(arg1, context) {};
366 * @param {Element} container
367 * @param {Element} contained
370 jQuery.contains = function(container, contained) {};
373 * @param {Element} container
374 * @param {Element} contained
377 $.contains = function(container, contained) {};
383 jQuery.prototype.contents = function() {};
385 /** @type {Element|Document} */
386 jQuery.prototype.context;
389 * @param {(string|Object.<string,*>)} arg1
390 * @param {(string|number|function(number,*))=} arg2
391 * @return {(string|!jQuery)}
393 jQuery.prototype.css = function(arg1, arg2) {};
395 /** @type {Object.<string, *>} */
398 /** @type {Object.<string, *>} */
402 * @param {Element} elem
403 * @param {string=} key
407 jQuery.data = function(elem, key, value) {};
410 * @param {(string|Object.<string, *>)=} arg1
414 jQuery.prototype.data = function(arg1, value) {};
417 * @param {Element} elem
418 * @param {string=} key
422 $.data = function(elem, key, value) {};
425 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
426 * @param {function(!jQuery.event=)=} handler
429 jQuery.prototype.dblclick = function(arg1, handler) {};
433 * @implements {jQuery.Promise}
434 * @param {function()=} opt_fn
435 * @see http://api.jquery.com/category/deferred-object/
437 jQuery.deferred = function(opt_fn) {};
441 * @extends {jQuery.deferred}
442 * @param {function()=} opt_fn
443 * @return {jQuery.Deferred}
445 jQuery.Deferred = function(opt_fn) {};
449 * @extends {jQuery.deferred}
450 * @param {function()=} opt_fn
451 * @see http://api.jquery.com/category/deferred-object/
453 $.deferred = function(opt_fn) {};
457 * @extends {jQuery.deferred}
458 * @param {function()=} opt_fn
459 * @return {jQuery.deferred}
461 $.Deferred = function(opt_fn) {};
465 * @param {jQueryCallback} alwaysCallbacks
466 * @param {jQueryCallback=} alwaysCallbacks2
467 * @return {jQuery.deferred}
469 jQuery.deferred.prototype.always
470 = function(alwaysCallbacks, alwaysCallbacks2) {};
474 * @param {jQueryCallback} doneCallbacks
475 * @param {jQueryCallback=} doneCallbacks2
476 * @return {jQuery.deferred}
478 jQuery.deferred.prototype.done = function(doneCallbacks, doneCallbacks2) {};
482 * @param {jQueryCallback} failCallbacks
483 * @param {jQueryCallback=} failCallbacks2
484 * @return {jQuery.deferred}
486 jQuery.deferred.prototype.fail = function(failCallbacks, failCallbacks2) {};
489 * @param {...*} var_args
490 * @return {jQuery.deferred}
492 jQuery.deferred.prototype.notify = function(var_args) {};
495 * @param {Object} context
496 * @param {...*} var_args
497 * @return {jQuery.deferred}
499 jQuery.deferred.prototype.notifyWith = function(context, var_args) {};
502 * @deprecated Please use deferred.then() instead.
504 * @param {function()=} doneFilter
505 * @param {function()=} failFilter
506 * @param {function()=} progressFilter
507 * @return {jQuery.Promise}
509 jQuery.deferred.prototype.pipe =
510 function(doneFilter, failFilter, progressFilter) {};
513 * @param {jQueryCallback} progressCallbacks
514 * @return {jQuery.deferred}
516 jQuery.deferred.prototype.progress = function(progressCallbacks) {};
519 * @param {Object=} target
520 * @return {jQuery.Promise}
522 jQuery.deferred.prototype.promise = function(target) {};
525 * @param {...*} var_args
526 * @return {jQuery.deferred}
528 jQuery.deferred.prototype.reject = function(var_args) {};
531 * @param {Object} context
532 * @param {Array.<*>=} args
533 * @return {jQuery.deferred}
535 jQuery.deferred.prototype.rejectWith = function(context, args) {};
538 * @param {...*} var_args
539 * @return {jQuery.deferred}
541 jQuery.deferred.prototype.resolve = function(var_args) {};
544 * @param {Object} context
545 * @param {Array.<*>=} args
546 * @return {jQuery.deferred}
548 jQuery.deferred.prototype.resolveWith = function(context, args) {};
550 /** @return {string} */
551 jQuery.deferred.prototype.state = function() {};
555 * @param {jQueryCallback} doneCallbacks
556 * @param {jQueryCallback=} failCallbacks
557 * @param {jQueryCallback=} progressCallbacks
558 * @return {jQuery.deferred}
560 jQuery.deferred.prototype.then
561 = function(doneCallbacks, failCallbacks, progressCallbacks) {};
564 * @param {number} duration
565 * @param {string=} queueName
568 jQuery.prototype.delay = function(duration, queueName) {};
571 * @param {string} selector
572 * @param {(string|Object.<string,*>)} arg2
573 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg3
574 * @param {function(!jQuery.event=)=} handler
577 jQuery.prototype.delegate = function(selector, arg2, arg3, handler) {};
580 * @param {Element} elem
581 * @param {string=} queueName
583 jQuery.dequeue = function(elem, queueName) {};
586 * @param {string=} queueName
589 jQuery.prototype.dequeue = function(queueName) {};
592 * @param {Element} elem
593 * @param {string=} queueName
595 $.dequeue = function(elem, queueName) {};
598 * @param {jQuerySelector=} selector
601 jQuery.prototype.detach = function(selector) {};
604 * @param {Object} collection
605 * @param {function((number|string),?)} callback
608 jQuery.each = function(collection, callback) {};
611 * @param {function(number,Element)} fnc
614 jQuery.prototype.each = function(fnc) {};
617 * @param {Object} collection
618 * @param {function((number|string),?)} callback
621 $.each = function(collection, callback) {};
623 /** @return {!jQuery} */
624 jQuery.prototype.empty = function() {};
630 jQuery.prototype.end = function() {};
633 * @param {number} arg1
636 jQuery.prototype.eq = function(arg1) {};
638 /** @param {string} message */
639 jQuery.error = function(message) {};
642 * @deprecated Please use .on( "error", handler ) instead.
643 * @param {(function(!jQuery.event=)|Object.<string, *>)} arg1
644 * @param {function(!jQuery.event=)=} handler
647 jQuery.prototype.error = function(arg1, handler) {};
649 /** @param {string} message */
650 $.error = function(message) {};
654 * @param {string} eventType
656 jQuery.event = function(eventType) {};
660 * @extends {jQuery.event}
661 * @param {string} eventType
662 * @param {Object=} properties
663 * @return {jQuery.Event}
665 jQuery.Event = function(eventType, properties) {};
669 * @extends {jQuery.event}
670 * @param {string} eventType
672 $.event = function(eventType) {};
676 * @extends {jQuery.event}
677 * @param {string} eventType
678 * @param {Object=} properties
681 $.Event = function(eventType, properties) {};
683 /** @type {Element} */
684 jQuery.event.prototype.currentTarget;
686 /** @type {Object.<string, *>} */
687 jQuery.event.prototype.data;
689 /** @type {Element} */
690 jQuery.event.prototype.delegateTarget;
696 jQuery.event.prototype.isDefaultPrevented = function() {};
702 jQuery.event.prototype.isImmediatePropagationStopped = function() {};
708 jQuery.event.prototype.isPropagationStopped = function() {};
710 /** @type {string} */
711 jQuery.event.prototype.namespace;
714 jQuery.event.prototype.originalEvent;
716 /** @type {number} */
717 jQuery.event.prototype.pageX;
719 /** @type {number} */
720 jQuery.event.prototype.pageY;
722 /** @return {undefined} */
723 jQuery.event.prototype.preventDefault = function() {};
725 /** @type {Object.<string, *>} */
726 jQuery.event.prototype.props;
728 /** @type {Element} */
729 jQuery.event.prototype.relatedTarget;
732 jQuery.event.prototype.result;
734 /** @return {undefined} */
735 jQuery.event.prototype.stopImmediatePropagation = function() {};
737 /** @return {undefined} */
738 jQuery.event.prototype.stopPropagation = function() {};
740 /** @type {Element} */
741 jQuery.event.prototype.target;
743 /** @type {number} */
744 jQuery.event.prototype.timeStamp;
746 /** @type {string} */
747 jQuery.event.prototype.type;
749 /** @type {number} */
750 jQuery.event.prototype.which;
753 * @param {(Object|boolean)} arg1
754 * @param {...*} var_args
757 jQuery.extend = function(arg1, var_args) {};
760 * @param {(Object|boolean)} arg1
761 * @param {...*} var_args
764 jQuery.prototype.extend = function(arg1, var_args) {};
767 * @param {(Object|boolean)} arg1
768 * @param {...*} var_args
771 $.extend = function(arg1, var_args) {};
774 * @param {(string|number|function())=} duration
775 * @param {(function()|string)=} arg2
776 * @param {function()=} callback
779 jQuery.prototype.fadeIn = function(duration, arg2, callback) {};
782 * @param {(string|number|function())=} duration
783 * @param {(function()|string)=} arg2
784 * @param {function()=} callback
787 jQuery.prototype.fadeOut = function(duration, arg2, callback) {};
790 * @param {(string|number)} duration
791 * @param {number} opacity
792 * @param {(function()|string)=} arg3
793 * @param {function()=} callback
796 jQuery.prototype.fadeTo = function(duration, opacity, arg3, callback) {};
799 * @param {(string|number|function())=} duration
800 * @param {(string|function())=} easing
801 * @param {function()=} callback
804 jQuery.prototype.fadeToggle = function(duration, easing, callback) {};
807 * @param {(jQuerySelector|function(number)|Element|jQuery)} arg1
810 jQuery.prototype.filter = function(arg1) {};
813 * @param {(jQuerySelector|jQuery|Element)} arg1
817 jQuery.prototype.find = function(arg1) {};
819 /** @return {!jQuery} */
820 jQuery.prototype.first = function() {};
822 /** @see http://docs.jquery.com/Plugins/Authoring */
823 jQuery.fn = jQuery.prototype;
825 /** @see http://docs.jquery.com/Plugins/Authoring */
829 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
830 * @param {function(!jQuery.event=)=} handler
833 jQuery.prototype.focus = function(arg1, handler) {};
836 * @param {(function(!jQuery.event=)|Object.<string, *>)} arg1
837 * @param {function(!jQuery.event=)=} handler
840 jQuery.prototype.focusin = function(arg1, handler) {};
843 * @param {(function(!jQuery.event=)|Object.<string, *>)} arg1
844 * @param {function(!jQuery.event=)=} handler
847 jQuery.prototype.focusout = function(arg1, handler) {};
855 /** @type {number} */
858 /** @type {number} */
861 /** @type {boolean} */
864 /** @type {boolean} */
868 * @param {string} url
869 * @param {(Object.<string,*>|string|
870 * function(string,string,jQuery.jqXHR))=} data
871 * @param {(function(string,string,jQuery.jqXHR)|string)=} success
872 * @param {string=} dataType
873 * @return {jQuery.jqXHR}
875 jQuery.get = function(url, data, success, dataType) {};
878 * @param {number=} index
879 * @return {(Element|Array.<Element>)}
882 jQuery.prototype.get = function(index) {};
885 * @param {string} url
886 * @param {(Object.<string,*>|string|
887 * function(string,string,jQuery.jqXHR))=} data
888 * @param {(function(string,string,jQuery.jqXHR)|string)=} success
889 * @param {string=} dataType
890 * @return {jQuery.jqXHR}
892 $.get = function(url, data, success, dataType) {};
895 * @param {string} url
896 * @param {(Object.<string,*>|
897 * function(Object.<string,*>,string,jQuery.jqXHR))=} data
898 * @param {function(Object.<string,*>,string,jQuery.jqXHR)=} success
899 * @return {jQuery.jqXHR}
900 * @see http://api.jquery.com/jquery.getjson/#jQuery-getJSON-url-data-success
902 jQuery.getJSON = function(url, data, success) {};
905 * @param {string} url
906 * @param {(Object.<string,*>|
907 * function(Object.<string,*>,string,jQuery.jqXHR))=} data
908 * @param {function(Object.<string,*>,string,jQuery.jqXHR)=} success
909 * @return {jQuery.jqXHR}
910 * @see http://api.jquery.com/jquery.getjson/#jQuery-getJSON-url-data-success
912 $.getJSON = function(url, data, success) {};
915 * @param {string} url
916 * @param {function(Node,string,jQuery.jqXHR)=} success
917 * @return {jQuery.jqXHR}
919 jQuery.getScript = function(url, success) {};
922 * @param {string} url
923 * @param {function(Node,string,jQuery.jqXHR)=} success
924 * @return {jQuery.jqXHR}
926 $.getScript = function(url, success) {};
928 /** @param {string} code */
929 jQuery.globalEval = function(code) {};
931 /** @param {string} code */
932 $.globalEval = function(code) {};
935 * @param {Array.<*>} arr
936 * @param {function(*,number)} fnc
937 * @param {boolean=} invert
938 * @return {Array.<*>}
940 jQuery.grep = function(arr, fnc, invert) {};
943 * @param {Array.<*>} arr
944 * @param {function(*,number)} fnc
945 * @param {boolean=} invert
946 * @return {Array.<*>}
948 $.grep = function(arr, fnc, invert) {};
951 * @param {(string|Element)} arg1
955 jQuery.prototype.has = function(arg1) {};
958 * @param {string} className
962 jQuery.prototype.hasClass = function(className) {};
965 * @param {Element} elem
969 jQuery.hasData = function(elem) {};
972 * @param {Element} elem
976 $.hasData = function(elem) {};
979 * @param {(string|number|function(number,number))=} arg1
980 * @return {(number|!jQuery)}
982 jQuery.prototype.height = function(arg1) {};
985 * @param {(string|number|function())=} duration
986 * @param {(function()|string)=} arg2
987 * @param {function()=} callback
990 jQuery.prototype.hide = function(duration, arg2, callback) {};
992 /** @param {boolean} hold */
993 jQuery.holdReady = function(hold) {};
995 /** @param {boolean} hold */
996 $.holdReady = function(hold) {};
999 * @param {function(!jQuery.event=)} arg1
1000 * @param {function(!jQuery.event=)=} handlerOut
1003 jQuery.prototype.hover = function(arg1, handlerOut) {};
1006 * @param {(string|function(number,string))=} arg1
1007 * @return {(string|!jQuery)}
1009 jQuery.prototype.html = function(arg1) {};
1013 * @param {Array.<*>} arr
1014 * @param {number=} fromIndex
1018 jQuery.inArray = function(value, arr, fromIndex) {};
1022 * @param {Array.<*>} arr
1023 * @param {number=} fromIndex
1027 $.inArray = function(value, arr, fromIndex) {};
1030 * @param {(jQuerySelector|Element|jQuery)=} arg1
1033 jQuery.prototype.index = function(arg1) {};
1039 jQuery.prototype.innerHeight = function() {};
1045 jQuery.prototype.innerWidth = function() {};
1048 * @param {(jQuerySelector|Element|jQuery)} target
1051 jQuery.prototype.insertAfter = function(target) {};
1054 * @param {(jQuerySelector|Element|jQuery)} target
1057 jQuery.prototype.insertBefore = function(target) {};
1060 * @param {(jQuerySelector|function(number)|jQuery|Element)} arg1
1063 jQuery.prototype.is = function(arg1) {};
1070 jQuery.isArray = function(obj) {};
1077 $.isArray = function(obj) {};
1080 * @param {Object} obj
1084 jQuery.isEmptyObject = function(obj) {};
1087 * @param {Object} obj
1091 $.isEmptyObject = function(obj) {};
1098 jQuery.isFunction = function(obj) {};
1105 $.isFunction = function(obj) {};
1112 jQuery.isNumeric = function(value) {};
1119 $.isNumeric = function(value) {};
1126 jQuery.isPlainObject = function(obj) {};
1133 $.isPlainObject = function(obj) {};
1140 jQuery.isWindow = function(obj) {};
1147 $.isWindow = function(obj) {};
1150 * @param {Element} node
1154 jQuery.isXMLDoc = function(node) {};
1157 * @param {Element} node
1161 $.isXMLDoc = function(node) {};
1163 /** @type {string} */
1164 jQuery.prototype.jquery;
1168 * @extends {XMLHttpRequest}
1169 * @implements {jQuery.Promise}
1171 * @see http://api.jquery.com/jQuery.ajax/#jqXHR
1173 jQuery.jqXHR = function () {};
1177 * @param {jQueryCallback} alwaysCallbacks
1178 * @param {jQueryCallback=} alwaysCallbacks2
1179 * @return {jQuery.jqXHR}
1181 jQuery.jqXHR.prototype.always =
1182 function(alwaysCallbacks, alwaysCallbacks2) {};
1186 * @param {function()} callback
1187 * @return {jQuery.jqXHR}
1189 jQuery.jqXHR.prototype.complete = function (callback) {};
1193 * @param {jQueryCallback} doneCallbacks
1194 * @return {jQuery.jqXHR}
1196 jQuery.jqXHR.prototype.done = function(doneCallbacks) {};
1200 * @param {function()} callback
1201 * @return {jQuery.jqXHR}
1203 jQuery.jqXHR.prototype.error = function (callback) {};
1207 * @param {jQueryCallback} failCallbacks
1208 * @return {jQuery.jqXHR}
1210 jQuery.jqXHR.prototype.fail = function(failCallbacks) {};
1216 jQuery.jqXHR.prototype.onreadystatechange = function (callback) {};
1220 * @param {function()=} doneFilter
1221 * @param {function()=} failFilter
1222 * @param {function()=} progressFilter
1223 * @return {jQuery.jqXHR}
1225 jQuery.jqXHR.prototype.pipe =
1226 function(doneFilter, failFilter, progressFilter) {};
1230 * @param {function()} callback
1231 * @return {jQuery.jqXHR}
1233 jQuery.jqXHR.prototype.success = function (callback) {};
1237 * @param {jQueryCallback} doneCallbacks
1238 * @param {jQueryCallback=} failCallbacks
1239 * @param {jQueryCallback=} progressCallbacks
1240 * @return {jQuery.jqXHR}
1242 jQuery.jqXHR.prototype.then =
1243 function(doneCallbacks, failCallbacks, progressCallbacks) {};
1246 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1247 * @param {function(!jQuery.event=)=} handler
1250 jQuery.prototype.keydown = function(arg1, handler) {};
1253 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1254 * @param {function(!jQuery.event=)=} handler
1257 jQuery.prototype.keypress = function(arg1, handler) {};
1260 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1261 * @param {function(!jQuery.event=)=} handler
1264 jQuery.prototype.keyup = function(arg1, handler) {};
1266 /** @return {!jQuery} */
1267 jQuery.prototype.last = function() {};
1269 /** @type {number} */
1270 jQuery.prototype.length;
1273 * @deprecated Please avoid the document loading Event invocation of
1274 * .load() and use .on( "load", handler ) instead. (The AJAX
1275 * module invocation signature is OK.)
1276 * @param {(function(!jQuery.event=)|Object.<string, *>|string)} arg1
1277 * @param {(function(!jQuery.event=)|Object.<string,*>|string)=} arg2
1278 * @param {function(string,string,XMLHttpRequest)=} complete
1281 jQuery.prototype.load = function(arg1, arg2, complete) {};
1285 * @return {Array.<*>}
1287 jQuery.makeArray = function(obj) {};
1291 * @return {Array.<*>}
1293 $.makeArray = function(obj) {};
1296 * @param {(Array.<*>|Object.<string, *>)} arg1
1297 * @param {(function(*,number)|function(*,(string|number)))} callback
1298 * @return {Array.<*>}
1300 jQuery.map = function(arg1, callback) {};
1303 * @param {function(number,Element)} callback
1306 jQuery.prototype.map = function(callback) {};
1309 * @param {(Array.<*>|Object.<string, *>)} arg1
1310 * @param {(function(*,number)|function(*,(string|number)))} callback
1311 * @return {Array.<*>}
1313 $.map = function(arg1, callback) {};
1316 * @param {Array.<*>} first
1317 * @param {Array.<*>} second
1318 * @return {Array.<*>}
1320 jQuery.merge = function(first, second) {};
1323 * @param {Array.<*>} first
1324 * @param {Array.<*>} second
1325 * @return {Array.<*>}
1327 $.merge = function(first, second) {};
1330 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1331 * @param {function(!jQuery.event=)=} handler
1334 jQuery.prototype.mousedown = function(arg1, handler) {};
1337 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1338 * @param {function(!jQuery.event=)=} handler
1341 jQuery.prototype.mouseenter = function(arg1, handler) {};
1344 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1345 * @param {function(!jQuery.event=)=} handler
1348 jQuery.prototype.mouseleave = function(arg1, handler) {};
1351 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1352 * @param {function(!jQuery.event=)=} handler
1355 jQuery.prototype.mousemove = function(arg1, handler) {};
1358 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1359 * @param {function(!jQuery.event=)=} handler
1362 jQuery.prototype.mouseout = function(arg1, handler) {};
1365 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1366 * @param {function(!jQuery.event=)=} handler
1369 jQuery.prototype.mouseover = function(arg1, handler) {};
1372 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1373 * @param {function(!jQuery.event=)=} handler
1376 jQuery.prototype.mouseup = function(arg1, handler) {};
1379 * @param {jQuerySelector=} selector
1383 jQuery.prototype.next = function(selector) {};
1386 * @param {string=} selector
1390 jQuery.prototype.nextAll = function(selector) {};
1393 * @param {(jQuerySelector|Element)=} arg1
1394 * @param {jQuerySelector=} filter
1398 jQuery.prototype.nextUntil = function(arg1, filter) {};
1401 * @param {boolean=} removeAll
1404 jQuery.noConflict = function(removeAll) {};
1407 * @param {boolean=} removeAll
1410 $.noConflict = function(removeAll) {};
1413 * @return {function()}
1416 jQuery.noop = function() {};
1419 * @return {function()}
1422 $.noop = function() {};
1425 * @param {(jQuerySelector|Array.<Element>|function(number)|jQuery)} arg1
1428 jQuery.prototype.not = function(arg1) {};
1434 jQuery.now = function() {};
1440 $.now = function() {};
1443 * @param {(string|Object.<string,*>)=} arg1
1444 * @param {(string|function(!jQuery.event=))=} selector
1445 * @param {function(!jQuery.event=)=} handler
1448 jQuery.prototype.off = function(arg1, selector, handler) {};
1451 * @param {({left:number,top:number}|
1452 * function(number,{top:number,left:number}))=} arg1
1453 * @return {({left:number,top:number}|!jQuery)}
1455 jQuery.prototype.offset = function(arg1) {};
1461 jQuery.prototype.offsetParent = function() {};
1464 * @param {(string|Object.<string,*>)} arg1
1465 * @param {*=} selector
1467 * @param {function(!jQuery.event=)=} handler
1470 jQuery.prototype.on = function(arg1, selector, data, handler) {};
1473 * @param {(string|Object.<string,*>)} arg1
1476 * @param {function(!jQuery.event=)=} handler
1479 jQuery.prototype.one = function(arg1, arg2, arg3, handler) {};
1482 * @param {boolean=} includeMargin
1486 jQuery.prototype.outerHeight = function(includeMargin) {};
1489 * @param {boolean=} includeMargin
1493 jQuery.prototype.outerWidth = function(includeMargin) {};
1496 * @param {(Object.<string, *>|Array.<Object.<string, *>>)} obj
1497 * @param {boolean=} traditional
1500 jQuery.param = function(obj, traditional) {};
1503 * @param {(Object.<string, *>|Array.<Object.<string, *>>)} obj
1504 * @param {boolean=} traditional
1507 $.param = function(obj, traditional) {};
1510 * @param {jQuerySelector=} selector
1514 jQuery.prototype.parent = function(selector) {};
1517 * @param {jQuerySelector=} selector
1521 jQuery.prototype.parents = function(selector) {};
1524 * @param {(jQuerySelector|Element)=} arg1
1525 * @param {jQuerySelector=} filter
1529 jQuery.prototype.parentsUntil = function(arg1, filter) {};
1532 * @param {string} data
1533 * @param {(Element|boolean)=} context
1534 * @param {boolean=} keepScripts
1535 * @return {Array.<Element>}
1537 jQuery.parseHTML = function(data, context, keepScripts) {};
1540 * @param {string} data
1541 * @param {(Element|boolean)=} context
1542 * @param {boolean=} keepScripts
1543 * @return {Array.<Element>}
1545 $.parseHTML = function(data, context, keepScripts) {};
1548 * @param {string} json
1549 * @return {string|number|Object.<string, *>|Array.<?>|boolean}
1551 jQuery.parseJSON = function(json) {};
1554 * @param {string} json
1555 * @return {Object.<string, *>}
1557 $.parseJSON = function(json) {};
1560 * @param {string} data
1561 * @return {Document}
1563 jQuery.parseXML = function(data) {};
1566 * @param {string} data
1567 * @return {Document}
1569 $.parseXML = function(data) {};
1572 * @return {{left:number,top:number}}
1575 jQuery.prototype.position = function() {};
1578 * @param {string} url
1579 * @param {(Object.<string,*>|string|
1580 * function(string,string,jQuery.jqXHR))=} data
1581 * @param {(function(string,string,jQuery.jqXHR)|string)=} success
1582 * @param {string=} dataType
1583 * @return {jQuery.jqXHR}
1585 jQuery.post = function(url, data, success, dataType) {};
1588 * @param {string} url
1589 * @param {(Object.<string,*>|string|
1590 * function(string,string,jQuery.jqXHR))=} data
1591 * @param {(function(string,string,jQuery.jqXHR)|string)=} success
1592 * @param {string=} dataType
1593 * @return {jQuery.jqXHR}
1595 $.post = function(url, data, success, dataType) {};
1598 * @param {(string|Element|jQuery|function(number,string))} arg1
1599 * @param {(string|Element|jQuery)=} content
1602 jQuery.prototype.prepend = function(arg1, content) {};
1605 * @param {(jQuerySelector|Element|jQuery)} target
1608 jQuery.prototype.prependTo = function(target) {};
1611 * @param {jQuerySelector=} selector
1615 jQuery.prototype.prev = function(selector) {};
1618 * @param {jQuerySelector=} selector
1622 jQuery.prototype.prevAll = function(selector) {};
1625 * @param {(jQuerySelector|Element)=} arg1
1626 * @param {jQuerySelector=} filter
1630 jQuery.prototype.prevUntil = function(arg1, filter) {};
1633 * @param {(string|Object)=} type
1634 * @param {Object=} target
1635 * @return {jQuery.Promise}
1637 jQuery.prototype.promise = function(type, target) {};
1642 * @see http://api.jquery.com/Types/#Promise
1644 jQuery.Promise = function () {};
1647 * @param {jQueryCallback} alwaysCallbacks
1648 * @param {jQueryCallback=} alwaysCallbacks2
1649 * @return {jQuery.Promise}
1651 jQuery.Promise.prototype.always =
1652 function(alwaysCallbacks, alwaysCallbacks2) {};
1655 * @param {jQueryCallback} doneCallbacks
1656 * @return {jQuery.Promise}
1658 jQuery.Promise.prototype.done = function(doneCallbacks) {};
1661 * @param {jQueryCallback} failCallbacks
1662 * @return {jQuery.Promise}
1664 jQuery.Promise.prototype.fail = function(failCallbacks) {};
1667 * @param {function()=} doneFilter
1668 * @param {function()=} failFilter
1669 * @param {function()=} progressFilter
1670 * @return {jQuery.Promise}
1672 jQuery.Promise.prototype.pipe =
1673 function(doneFilter, failFilter, progressFilter) {};
1676 * @param {jQueryCallback} doneCallbacks
1677 * @param {jQueryCallback=} failCallbacks
1678 * @param {jQueryCallback=} progressCallbacks
1679 * @return {jQuery.Promise}
1681 jQuery.Promise.prototype.then =
1682 function(doneCallbacks, failCallbacks, progressCallbacks) {};
1685 * @param {(string|Object.<string,*>)} arg1
1686 * @param {(string|number|boolean|function(number,String))=} arg2
1687 * @return {(string|boolean|!jQuery)}
1689 jQuery.prototype.prop = function(arg1, arg2) {};
1692 * @param {...*} var_args
1693 * @return {function()}
1695 jQuery.proxy = function(var_args) {};
1698 * @param {...*} var_args
1699 * @return {function()}
1701 $.proxy = function(var_args) {};
1704 * @param {Array.<Element>} elements
1705 * @param {string=} name
1706 * @param {Array.<*>=} args
1709 jQuery.prototype.pushStack = function(elements, name, args) {};
1712 * @param {(string|Array.<function()>|function(function()))=} queueName
1713 * @param {(Array.<function()>|function(function()))=} arg2
1714 * @return {(Array.<Element>|!jQuery)}
1716 jQuery.prototype.queue = function(queueName, arg2) {};
1719 * @param {Element} elem
1720 * @param {string=} queueName
1721 * @param {(Array.<function()>|function())=} arg3
1722 * @return {(Array.<Element>|!jQuery)}
1724 jQuery.queue = function(elem, queueName, arg3) {};
1727 * @param {Element} elem
1728 * @param {string=} queueName
1729 * @param {(Array.<function()>|function())=} arg3
1730 * @return {(Array.<Element>|!jQuery)}
1732 $.queue = function(elem, queueName, arg3) {};
1735 * @param {function()} handler
1738 jQuery.prototype.ready = function(handler) {};
1741 * @param {string=} selector
1744 jQuery.prototype.remove = function(selector) {};
1747 * @param {string} attributeName
1750 jQuery.prototype.removeAttr = function(attributeName) {};
1753 * @param {(string|function(number,string))=} arg1
1756 jQuery.prototype.removeClass = function(arg1) {};
1759 * @param {(string|Array.<string>)=} arg1
1762 jQuery.prototype.removeData = function(arg1) {};
1765 * @param {Element} elem
1766 * @param {string=} name
1769 jQuery.removeData = function(elem, name) {};
1772 * @param {Element} elem
1773 * @param {string=} name
1776 $.removeData = function(elem, name) {};
1779 * @param {string} propertyName
1782 jQuery.prototype.removeProp = function(propertyName) {};
1785 * @param {jQuerySelector} target
1788 jQuery.prototype.replaceAll = function(target) {};
1791 * @param {(string|Element|jQuery|function())} arg1
1794 jQuery.prototype.replaceWith = function(arg1) {};
1797 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1798 * @param {function(!jQuery.event=)=} handler
1801 jQuery.prototype.resize = function(arg1, handler) {};
1804 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1805 * @param {function(!jQuery.event=)=} handler
1808 jQuery.prototype.scroll = function(arg1, handler) {};
1811 * @param {number=} value
1812 * @return {(number|!jQuery)}
1814 jQuery.prototype.scrollLeft = function(value) {};
1817 * @param {number=} value
1818 * @return {(number|!jQuery)}
1820 jQuery.prototype.scrollTop = function(value) {};
1823 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1824 * @param {function(!jQuery.event=)=} handler
1827 jQuery.prototype.select = function(arg1, handler) {};
1833 jQuery.prototype.serialize = function() {};
1836 * @return {Array.<Object.<string, *>>}
1839 jQuery.prototype.serializeArray = function() {};
1842 * @param {(string|number|function())=} duration
1843 * @param {(function()|string)=} arg2
1844 * @param {function()=} callback
1847 jQuery.prototype.show = function(duration, arg2, callback) {};
1850 * @param {jQuerySelector=} selector
1854 jQuery.prototype.siblings = function(selector) {};
1857 * @deprecated Please use the .length property instead.
1861 jQuery.prototype.size = function() {};
1864 * @param {number} start
1865 * @param {number=} end
1868 jQuery.prototype.slice = function(start, end) {};
1871 * @param {(Object.<string,*>|string|number)=} optionsOrDuration
1872 * @param {(function()|string)=} completeOrEasing
1873 * @param {function()=} complete
1876 jQuery.prototype.slideDown =
1877 function(optionsOrDuration, completeOrEasing, complete) {};
1880 * @param {(Object.<string,*>|string|number)=} optionsOrDuration
1881 * @param {(function()|string)=} completeOrEasing
1882 * @param {function()=} complete
1885 jQuery.prototype.slideToggle =
1886 function(optionsOrDuration, completeOrEasing, complete) {};
1889 * @param {(Object.<string,*>|string|number)=} optionsOrDuration
1890 * @param {(function()|string)=} completeOrEasing
1891 * @param {function()=} complete
1894 jQuery.prototype.slideUp =
1895 function(optionsOrDuration, completeOrEasing, complete) {};
1898 * @param {(boolean|string)=} arg1
1899 * @param {boolean=} arg2
1900 * @param {boolean=} jumpToEnd
1903 jQuery.prototype.stop = function(arg1, arg2, jumpToEnd) {};
1906 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1907 * @param {function(!jQuery.event=)=} handler
1910 jQuery.prototype.submit = function(arg1, handler) {};
1912 /** @type {Object.<string, *>}
1913 * @deprecated Please try to use feature detection instead.
1917 /** @type {Object.<string, *>}
1918 * @deprecated Please try to use feature detection instead.
1923 * @deprecated Please try to use feature detection instead.
1926 jQuery.support.boxModel;
1929 * @deprecated Please try to use feature detection instead.
1934 /** @type {boolean} */
1935 jQuery.support.changeBubbles;
1937 /** @type {boolean} */
1938 $.support.changeBubbles;
1940 /** @type {boolean} */
1941 jQuery.support.cors;
1943 /** @type {boolean} */
1946 /** @type {boolean} */
1947 jQuery.support.cssFloat;
1949 /** @type {boolean} */
1952 /** @type {boolean} */
1953 jQuery.support.hrefNormalized;
1955 /** @type {boolean} */
1956 $.support.hrefNormalized;
1958 /** @type {boolean} */
1959 jQuery.support.htmlSerialize;
1961 /** @type {boolean} */
1962 $.support.htmlSerialize;
1964 /** @type {boolean} */
1965 jQuery.support.leadingWhitespace;
1967 /** @type {boolean} */
1968 $.support.leadingWhitespace;
1970 /** @type {boolean} */
1971 jQuery.support.noCloneEvent;
1973 /** @type {boolean} */
1974 $.support.noCloneEvent;
1976 /** @type {boolean} */
1977 jQuery.support.opacity;
1979 /** @type {boolean} */
1982 /** @type {boolean} */
1983 jQuery.support.style;
1985 /** @type {boolean} */
1988 /** @type {boolean} */
1989 jQuery.support.submitBubbles;
1991 /** @type {boolean} */
1992 $.support.submitBubbles;
1994 /** @type {boolean} */
1995 jQuery.support.tbody;
1997 /** @type {boolean} */
2001 * @param {(string|function(number,string))=} arg1
2002 * @return {(string|!jQuery)}
2004 jQuery.prototype.text = function(arg1) {};
2007 * @return {Array.<Element>}
2010 jQuery.prototype.toArray = function() {};
2013 * Refers to the method from the Effects category. There used to be a toggle
2014 * method on the Events category which was removed starting version 1.9.
2015 * @param {(number|string|Object.<string,*>|boolean)=} arg1
2016 * @param {(function()|string)=} arg2
2017 * @param {function()=} arg3
2020 jQuery.prototype.toggle = function(arg1, arg2, arg3) {};
2023 * @param {(string|boolean|function(number,string,boolean))=} arg1
2024 * @param {boolean=} flag
2027 jQuery.prototype.toggleClass = function(arg1, flag) {};
2030 * @param {(string|jQuery.event)} arg1
2031 * @param {...*} var_args
2034 jQuery.prototype.trigger = function(arg1, var_args) {};
2037 * @param {string|jQuery.event} eventType
2038 * @param {Array.<*>=} extraParameters
2041 jQuery.prototype.triggerHandler = function(eventType, extraParameters) {};
2044 * @param {string} str
2048 jQuery.trim = function(str) {};
2051 * @param {string} str
2055 $.trim = function(str) {};
2062 jQuery.type = function(obj) {};
2069 $.type = function(obj) {};
2072 * @param {(string|function(!jQuery.event=)|jQuery.event)=} arg1
2073 * @param {(function(!jQuery.event=)|boolean)=} arg2
2076 jQuery.prototype.unbind = function(arg1, arg2) {};
2079 * @param {string=} arg1
2080 * @param {(string|Object.<string,*>)=} arg2
2081 * @param {function(!jQuery.event=)=} handler
2084 jQuery.prototype.undelegate = function(arg1, arg2, handler) {};
2087 * @param {Array.<Element>} arr
2088 * @return {Array.<Element>}
2090 jQuery.unique = function(arr) {};
2093 * @param {Array.<Element>} arr
2094 * @return {Array.<Element>}
2096 $.unique = function(arr) {};
2099 * @deprecated Please use .on( "unload", handler ) instead.
2100 * @param {(function(!jQuery.event=)|Object.<string, *>)} arg1
2101 * @param {function(!jQuery.event=)=} handler
2104 jQuery.prototype.unload = function(arg1, handler) {};
2106 /** @return {!jQuery} */
2107 jQuery.prototype.unwrap = function() {};
2110 * @param {(string|Array.<string>|function(number,*))=} arg1
2111 * @return {(string|number|Array.<string>|!jQuery)}
2113 jQuery.prototype.val = function(arg1) {};
2116 * Note: The official documentation (https://api.jquery.com/jQuery.when/) says
2117 * jQuery.when accepts deferreds, but it actually accepts any type, e.g.:
2119 * jQuery.when(jQuery.ready, jQuery.ajax(''), jQuery('#my-element'), 1)
2121 * If an argument is not an "observable" (a promise-like object) it is wrapped
2123 * @param {*} deferred
2124 * @param {...*} deferreds
2125 * @return {jQuery.Promise}
2127 jQuery.when = function(deferred, deferreds) {};
2130 * Note: See jQuery.when().
2131 * @param {*} deferred
2132 * @param {...*} deferreds
2133 * @return {jQuery.Promise}
2135 $.when = function(deferred, deferreds) {};
2138 * @param {(string|number|function(number,number))=} arg1
2139 * @return {(number|!jQuery)}
2141 jQuery.prototype.width = function(arg1) {};
2144 * @param {(string|jQuerySelector|Element|jQuery|function(number))} arg1
2147 jQuery.prototype.wrap = function(arg1) {};
2150 * @param {(string|jQuerySelector|Element|jQuery)} wrappingElement
2153 jQuery.prototype.wrapAll = function(wrappingElement) {};
2156 * @param {(string|jQuerySelector|Element|jQuery|function(number))} arg1
2159 jQuery.prototype.wrapInner = function(arg1) {};