Debian Codegraph @

contrib/externs/jquery-1.7.js

raw symbols SCIP
1 /*
2 * Copyright 2011 The Closure Compiler Authors.
3 *
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
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
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.
15 */
16
17 /**
18 * @fileoverview Externs for jQuery 1.7.2
19 *
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>
25 *
26 * @see http://api.jquery.com/
27 * @externs
28 */
29
30 /**
31 * @typedef {(Window|Document|Element|Array.<Element>|string|jQuery|
32 * NodeList)}
33 */
34 var jQuerySelector;
35
36 /** @typedef {function(...)|Array.<function(...)>} */
37 var jQueryCallback;
38
39 /**
40 * @constructor
41 * @param {(jQuerySelector|Element|Object|Array.<Element>|jQuery|string|
42 * function())=} arg1
43 * @param {(Element|jQuery|Document|
44 * Object.<string, (string|function(!jQuery.event=))>)=} arg2
45 * @return {!jQuery}
46 */
47 function jQuery(arg1, arg2) {}
48
49 /**
50 * @constructor
51 * @extends {jQuery}
52 * @param {(jQuerySelector|Element|Object|Array.<Element>|jQuery|string|
53 * function())=} arg1
54 * @param {(Element|jQuery|Document|
55 * Object.<string, (string|function(!jQuery.event=))>)=} arg2
56 * @return {!jQuery}
57 */
58 function $(arg1, arg2) {}
59
60 /**
61 * @param {(jQuerySelector|Array.<Element>|string|jQuery)} arg1
62 * @param {Element=} context
63 * @return {!jQuery}
64 * @nosideeffects
65 */
66 jQuery.prototype.add = function(arg1, context) {};
67
68 /**
69 * @param {(string|function(number,String))} arg1
70 * @return {!jQuery}
71 */
72 jQuery.prototype.addClass = function(arg1) {};
73
74 /**
75 * @param {(string|Element|jQuery|function(number))} arg1
76 * @param {(string|Element|Array.<Element>|jQuery)=} content
77 * @return {!jQuery}
78 */
79 jQuery.prototype.after = function(arg1, content) {};
80
81 /**
82 * @param {(string|Object.<string,*>)} arg1
83 * @param {Object.<string,*>=} settings
84 * @return {jQuery.jqXHR}
85 */
86 jQuery.ajax = function(arg1, settings) {};
87
88 /**
89 * @param {(string|Object.<string,*>)} arg1
90 * @param {Object.<string,*>=} settings
91 * @return {jQuery.jqXHR}
92 */
93 $.ajax = function(arg1, settings) {};
94
95 /**
96 * @param {function(!jQuery.event,XMLHttpRequest,Object.<string, *>)} handler
97 * @return {!jQuery}
98 */
99 jQuery.prototype.ajaxComplete = function(handler) {};
100
101 /**
102 * @param {function(!jQuery.event,jQuery.jqXHR,Object.<string, *>,*)} handler
103 * @return {!jQuery}
104 */
105 jQuery.prototype.ajaxError = function(handler) {};
106
107 /**
108 * @param {(string|
109 * function(Object.<string,*>,Object.<string, *>,jQuery.jqXHR))} dataTypes
110 * @param {function(Object.<string,*>,Object.<string, *>,jQuery.jqXHR)=} handler
111 */
112 jQuery.ajaxPrefilter = function(dataTypes, handler) {};
113
114 /**
115 * @param {(string|
116 * function(Object.<string,*>,Object.<string, *>,jQuery.jqXHR))} dataTypes
117 * @param {function(Object.<string,*>,Object.<string, *>,jQuery.jqXHR)=} handler
118 */
119 $.ajaxPrefilter = function(dataTypes, handler) {};
120
121 /**
122 * @param {function(!jQuery.event,jQuery.jqXHR,Object.<string, *>)} handler
123 * @return {!jQuery}
124 */
125 jQuery.prototype.ajaxSend = function(handler) {};
126
127 /** @const */
128 jQuery.ajaxSettings = {};
129
130 /** @const */
131 $.ajaxSettings = {};
132
133 /** @type {Object.<string, string>} */
134 jQuery.ajaxSettings.accepts = {};
135
136 /** @type {Object.<string, string>} */
137 $.ajaxSettings.accepts = {};
138
139 /** @type {boolean} */
140 jQuery.ajaxSettings.async;
141
142 /** @type {boolean} */
143 $.ajaxSettings.async;
144
145 /** @type {Object.<string, RegExp>} */
146 jQuery.ajaxSettings.contents = {};
147
148 /** @type {Object.<string, RegExp>} */
149 $.ajaxSettings.contents = {};
150
151 /** @type {string} */
152 jQuery.ajaxSettings.contentType;
153
154 /** @type {string} */
155 $.ajaxSettings.contentType;
156
157 /** @type {Object.<string, *>} */
158 jQuery.ajaxSettings.converters = {};
159
160 /** @type {Object.<string, *>} */
161 $.ajaxSettings.converters = {};
162
163 /** @type {Object.<string, boolean>} */
164 jQuery.ajaxSettings.flatOptions = {};
165
166 /** @type {Object.<string, boolean>} */
167 $.ajaxSettings.flatOptions = {};
168
169 /** @type {boolean} */
170 jQuery.ajaxSettings.global;
171
172 /** @type {boolean} */
173 $.ajaxSettings.global;
174
175 /** @type {boolean} */
176 jQuery.ajaxSettings.isLocal;
177
178 /** @type {boolean} */
179 $.ajaxSettings.isLocal;
180
181 /** @type {boolean} */
182 jQuery.ajaxSettings.processData;
183
184 /** @type {boolean} */
185 $.ajaxSettings.processData;
186
187 /** @type {Object.<string, string>} */
188 jQuery.ajaxSettings.responseFields = {};
189
190 /** @type {Object.<string, string>} */
191 $.ajaxSettings.responseFields = {};
192
193 /** @type {boolean} */
194 jQuery.ajaxSettings.traditional;
195
196 /** @type {boolean} */
197 $.ajaxSettings.traditional;
198
199 /** @type {string} */
200 jQuery.ajaxSettings.type;
201
202 /** @type {string} */
203 $.ajaxSettings.type;
204
205 /** @type {string} */
206 jQuery.ajaxSettings.url;
207
208 /** @type {string} */
209 $.ajaxSettings.url;
210
211 /** @return {XMLHttpRequest|ActiveXObject} */
212 jQuery.ajaxSettings.xhr = function() {};
213
214 /** @return {XMLHttpRequest|ActiveXObject} */
215 $.ajaxSettings.xhr = function() {};
216
217 /** @param {Object.<string,*>} options */
218 jQuery.ajaxSetup = function(options) {};
219
220 /** @param {Object.<string,*>} options */
221 $.ajaxSetup = function(options) {};
222
223 /**
224 * @param {function()} handler
225 * @return {!jQuery}
226 */
227 jQuery.prototype.ajaxStart = function(handler) {};
228
229 /**
230 * @param {function()} handler
231 * @return {!jQuery}
232 */
233 jQuery.prototype.ajaxStop = function(handler) {};
234
235 /**
236 * @param {function(!jQuery.event,XMLHttpRequest,Object.<string, *>)} handler
237 * @return {!jQuery}
238 */
239 jQuery.prototype.ajaxSuccess = function(handler) {};
240
241 /**
242 * @return {!jQuery}
243 * @nosideeffects
244 */
245 jQuery.prototype.andSelf = function() {};
246
247 /**
248 * @param {Object.<string,*>} properties
249 * @param {(string|number|function()|Object.<string,*>)=} arg2
250 * @param {(string|function())=} easing
251 * @param {function()=} complete
252 * @return {!jQuery}
253 */
254 jQuery.prototype.animate = function(properties, arg2, easing, complete) {};
255
256 /**
257 * @param {(string|Element|jQuery|function(number,string))} arg1
258 * @param {(string|Element|Array.<Element>|jQuery)=} content
259 * @return {!jQuery}
260 */
261 jQuery.prototype.append = function(arg1, content) {};
262
263 /**
264 * @param {(jQuerySelector|Element|jQuery)} target
265 * @return {!jQuery}
266 */
267 jQuery.prototype.appendTo = function(target) {};
268
269 /**
270 * @param {(string|Object.<string,*>)} arg1
271 * @param {(string|number|boolean|function(number,string))=} arg2
272 * @return {(string|!jQuery)}
273 */
274 jQuery.prototype.attr = function(arg1, arg2) {};
275
276 /**
277 * @param {(string|Element|jQuery|function())} arg1
278 * @param {(string|Element|Array.<Element>|jQuery)=} content
279 * @return {!jQuery}
280 */
281 jQuery.prototype.before = function(arg1, content) {};
282
283 /**
284 * @param {(string|Object.<string, function(!jQuery.event=)>)} arg1
285 * @param {(Object.<string, *>|function(!jQuery.event=)|boolean)=} eventData
286 * @param {(function(!jQuery.event=)|boolean)=} arg3
287 * @return {!jQuery}
288 */
289 jQuery.prototype.bind = function(arg1, eventData, arg3) {};
290
291 /**
292 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
293 * @param {function(!jQuery.event=)=} handler
294 * @return {!jQuery}
295 */
296 jQuery.prototype.blur = function(arg1, handler) {};
297
298 /** @type {boolean} */
299 jQuery.boxModel;
300
301 /** @type {boolean} */
302 $.boxModel;
303
304 /** @type {Object.<string,*>} */
305 jQuery.browser;
306
307 /** @type {Object.<string,*>} */
308 $.browser;
309
310 /**
311 * @type {boolean}
312 * @const
313 */
314 jQuery.browser.mozilla;
315
316 /**
317 * @type {boolean}
318 * @const
319 */
320 $.browser.mozilla;
321
322 /**
323 * @type {boolean}
324 * @const
325 */
326 jQuery.browser.msie;
327
328 /**
329 * @type {boolean}
330 * @const
331 */
332 $.browser.msie;
333
334 /**
335 * @type {boolean}
336 * @const
337 */
338 jQuery.browser.opera;
339
340 /**
341 * @type {boolean}
342 * @const
343 */
344 $.browser.opera;
345
346 /**
347 * @deprecated
348 * @type {boolean}
349 * @const
350 */
351 jQuery.browser.safari;
352
353 /**
354 * @deprecated
355 * @type {boolean}
356 * @const
357 */
358 $.browser.safari;
359
360 /** @type {string} */
361 jQuery.browser.version;
362
363 /** @type {string} */
364 $.browser.version;
365
366 /**
367 * @type {boolean}
368 * @const
369 */
370 jQuery.browser.webkit;
371
372 /**
373 * @type {boolean}
374 * @const
375 */
376 $.browser.webkit;
377
378 /**
379 * @constructor
380 * @private
381 */
382 jQuery.callbacks = function () {};
383
384 /**
385 * @param {string=} flags
386 * @return {jQuery.callbacks}
387 */
388 jQuery.Callbacks = function (flags) {};
389
390 /** @param {function()} callbacks */
391 jQuery.callbacks.prototype.add = function(callbacks) {};
392
393 /** @return {undefined} */
394 jQuery.callbacks.prototype.disable = function() {};
395
396 /** @return {undefined} */
397 jQuery.callbacks.prototype.empty = function() {};
398
399 /** @param {...*} var_args */
400 jQuery.callbacks.prototype.fire = function(var_args) {};
401
402 /** @return {boolean} */
403 jQuery.callbacks.prototype.fired = function() {};
404
405 /** @param {...*} var_args */
406 jQuery.callbacks.prototype.fireWith = function(var_args) {};
407
408 /**
409 * @param {function()} callback
410 * @return {boolean}
411 * @nosideeffects
412 */
413 jQuery.callbacks.prototype.has = function(callback) {};
414
415 /** @return {undefined} */
416 jQuery.callbacks.prototype.lock = function() {};
417
418 /** @return {boolean} */
419 jQuery.callbacks.prototype.locked = function() {};
420
421 /** @param {function()} callbacks */
422 jQuery.callbacks.prototype.remove = function(callbacks) {};
423
424 /**
425 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
426 * @param {function(!jQuery.event=)=} handler
427 * @return {!jQuery}
428 */
429 jQuery.prototype.change = function(arg1, handler) {};
430
431 /**
432 * @param {jQuerySelector=} selector
433 * @return {!jQuery}
434 * @nosideeffects
435 */
436 jQuery.prototype.children = function(selector) {};
437
438 /**
439 * @param {string=} queueName
440 * @return {!jQuery}
441 */
442 jQuery.prototype.clearQueue = function(queueName) {};
443
444 /**
445 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
446 * @param {function(!jQuery.event=)=} handler
447 * @return {!jQuery}
448 */
449 jQuery.prototype.click = function(arg1, handler) {};
450
451 /**
452 * @param {boolean=} withDataAndEvents
453 * @param {boolean=} deepWithDataAndEvents
454 * @return {!jQuery}
455 * @suppress {checkTypes} see issue 583
456 */
457 jQuery.prototype.clone = function(withDataAndEvents, deepWithDataAndEvents) {};
458
459 /**
460 * @param {(jQuerySelector|jQuery|Element|string|Array.<string>)} arg1
461 * @param {Element=} context
462 * @return {(!jQuery|Array.<Element>)}
463 * @nosideeffects
464 */
465 jQuery.prototype.closest = function(arg1, context) {};
466
467 /**
468 * @param {Element} container
469 * @param {Element} contained
470 * @return {boolean}
471 */
472 jQuery.contains = function(container, contained) {};
473
474 /**
475 * @param {Element} container
476 * @param {Element} contained
477 * @return {boolean}
478 */
479 $.contains = function(container, contained) {};
480
481 /**
482 * @return {!jQuery}
483 * @nosideeffects
484 */
485 jQuery.prototype.contents = function() {};
486
487 /** @type {Element} */
488 jQuery.prototype.context;
489
490 /**
491 * @param {(string|Object.<string,*>)} arg1
492 * @param {(string|number|function(number,*))=} arg2
493 * @return {(string|!jQuery)}
494 */
495 jQuery.prototype.css = function(arg1, arg2) {};
496
497 /** @type {Object.<string, *>} */
498 jQuery.cssHooks;
499
500 /** @type {Object.<string, *>} */
501 $.cssHooks;
502
503 /**
504 * @param {Element} elem
505 * @param {string=} key
506 * @param {*=} value
507 * @return {*}
508 */
509 jQuery.data = function(elem, key, value) {};
510
511 /**
512 * @param {(string|Object.<string, *>)=} arg1
513 * @param {*=} value
514 * @return {*}
515 */
516 jQuery.prototype.data = function(arg1, value) {};
517
518 /**
519 * @param {Element} elem
520 * @param {string=} key
521 * @param {*=} value
522 * @return {*}
523 */
524 $.data = function(elem, key, value) {};
525
526 /**
527 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
528 * @param {function(!jQuery.event=)=} handler
529 * @return {!jQuery}
530 */
531 jQuery.prototype.dblclick = function(arg1, handler) {};
532
533 /**
534 * @constructor
535 * @implements {jQuery.Promise}
536 * @param {function()=} opt_fn
537 * @see http://api.jquery.com/category/deferred-object/
538 */
539 jQuery.deferred = function(opt_fn) {};
540
541 /**
542 * @constructor
543 * @extends {jQuery.deferred}
544 * @param {function()=} opt_fn
545 * @return {jQuery.Deferred}
546 */
547 jQuery.Deferred = function(opt_fn) {};
548
549 /**
550 * @constructor
551 * @extends {jQuery.deferred}
552 * @param {function()=} opt_fn
553 * @see http://api.jquery.com/category/deferred-object/
554 */
555 $.deferred = function(opt_fn) {};
556
557 /**
558 * @constructor
559 * @extends {jQuery.deferred}
560 * @param {function()=} opt_fn
561 * @return {jQuery.deferred}
562 */
563 $.Deferred = function(opt_fn) {};
564
565 /**
566 * @override
567 * @param {jQueryCallback} alwaysCallbacks
568 * @param {jQueryCallback=} alwaysCallbacks2
569 * @return {jQuery.deferred}
570 */
571 jQuery.deferred.prototype.always
572 = function(alwaysCallbacks, alwaysCallbacks2) {};
573
574 /**
575 * @override
576 * @param {jQueryCallback} doneCallbacks
577 * @param {jQueryCallback=} doneCallbacks2
578 * @return {jQuery.deferred}
579 */
580 jQuery.deferred.prototype.done = function(doneCallbacks, doneCallbacks2) {};
581
582 /**
583 * @override
584 * @param {jQueryCallback} failCallbacks
585 * @param {jQueryCallback=} failCallbacks2
586 * @return {jQuery.deferred}
587 */
588 jQuery.deferred.prototype.fail = function(failCallbacks, failCallbacks2) {};
589
590 /**
591 * @deprecated
592 * @override
593 * @return {boolean}
594 * @nosideeffects
595 */
596 jQuery.deferred.prototype.isRejected = function() {};
597
598 /**
599 * @deprecated
600 * @override
601 * @return {boolean}
602 * @nosideeffects
603 */
604 jQuery.deferred.prototype.isResolved = function() {};
605
606 /**
607 * @param {...*} var_args
608 * @return {jQuery.deferred}
609 */
610 jQuery.deferred.prototype.notify = function(var_args) {};
611
612 /**
613 * @param {Object} context
614 * @param {...*} var_args
615 * @return {jQuery.deferred}
616 */
617 jQuery.deferred.prototype.notifyWith = function(context, var_args) {};
618
619 /**
620 * @override
621 * @param {function()=} doneFilter
622 * @param {function()=} failFilter
623 * @param {function()=} progressFilter
624 * @return {jQuery.Promise}
625 */
626 jQuery.deferred.prototype.pipe
627 = function(doneFilter, failFilter, progressFilter) {};
628
629 /**
630 * @param {function()} progressCallbacks
631 * @return {jQuery.deferred}
632 */
633 jQuery.deferred.prototype.progress = function(progressCallbacks) {};
634
635 /**
636 * @param {Object=} target
637 * @return {jQuery.Promise}
638 */
639 jQuery.deferred.prototype.promise = function(target) {};
640
641 /**
642 * @param {...*} var_args
643 * @return {jQuery.deferred}
644 */
645 jQuery.deferred.prototype.reject = function(var_args) {};
646
647 /**
648 * @param {Object} context
649 * @param {Array.<*>=} args
650 * @return {jQuery.deferred}
651 */
652 jQuery.deferred.prototype.rejectWith = function(context, args) {};
653
654 /**
655 * @param {...*} var_args
656 * @return {jQuery.deferred}
657 */
658 jQuery.deferred.prototype.resolve = function(var_args) {};
659
660 /**
661 * @param {Object} context
662 * @param {Array.<*>=} args
663 * @return {jQuery.deferred}
664 */
665 jQuery.deferred.prototype.resolveWith = function(context, args) {};
666
667 /** @return {string} */
668 jQuery.deferred.prototype.state = function() {};
669
670 /**
671 * @override
672 * @param {jQueryCallback} doneCallbacks
673 * @param {jQueryCallback=} failCallbacks
674 * @param {jQueryCallback=} progressCallbacks
675 * @return {jQuery.deferred}
676 */
677 jQuery.deferred.prototype.then
678 = function(doneCallbacks, failCallbacks, progressCallbacks) {};
679
680 /**
681 * @param {number} duration
682 * @param {string=} queueName
683 * @return {!jQuery}
684 */
685 jQuery.prototype.delay = function(duration, queueName) {};
686
687 /**
688 * @param {string} selector
689 * @param {(string|Object.<string,*>)} arg2
690 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg3
691 * @param {function(!jQuery.event=)=} handler
692 * @return {!jQuery}
693 */
694 jQuery.prototype.delegate = function(selector, arg2, arg3, handler) {};
695
696 /**
697 * @param {Element} elem
698 * @param {string=} queueName
699 */
700 jQuery.dequeue = function(elem, queueName) {};
701
702 /**
703 * @param {string=} queueName
704 * @return {!jQuery}
705 */
706 jQuery.prototype.dequeue = function(queueName) {};
707
708 /**
709 * @param {Element} elem
710 * @param {string=} queueName
711 */
712 $.dequeue = function(elem, queueName) {};
713
714 /**
715 * @param {jQuerySelector=} selector
716 * @return {!jQuery}
717 */
718 jQuery.prototype.detach = function(selector) {};
719
720 /**
721 * @deprecated
722 * @param {(string|Object.<string,*>)=} arg1
723 * @param {string=} handler
724 * @return {!jQuery}
725 */
726 jQuery.prototype.die = function(arg1, handler) {};
727
728 /**
729 * @param {Object} collection
730 * @param {function(number,?)} callback
731 * @return {Object}
732 */
733 jQuery.each = function(collection, callback) {};
734
735 /**
736 * @param {function(number,Element)} fnc
737 * @return {!jQuery}
738 */
739 jQuery.prototype.each = function(fnc) {};
740
741 /**
742 * @param {Object} collection
743 * @param {function(number,?)} callback
744 * @return {Object}
745 */
746 $.each = function(collection, callback) {};
747
748 /** @return {!jQuery} */
749 jQuery.prototype.empty = function() {};
750
751 /**
752 * @return {!jQuery}
753 * @nosideeffects
754 */
755 jQuery.prototype.end = function() {};
756
757 /**
758 * @param {number} arg1
759 * @return {!jQuery}
760 */
761 jQuery.prototype.eq = function(arg1) {};
762
763 /** @param {string} message */
764 jQuery.error = function(message) {};
765
766 /**
767 * @param {(function(!jQuery.event=)|Object.<string, *>)} arg1
768 * @param {function(!jQuery.event=)=} handler
769 * @return {!jQuery}
770 */
771 jQuery.prototype.error = function(arg1, handler) {};
772
773 /** @param {string} message */
774 $.error = function(message) {};
775
776 /**
777 * @constructor
778 * @param {string} eventType
779 */
780 jQuery.event = function(eventType) {};
781
782 /**
783 * @constructor
784 * @extends {jQuery.event}
785 * @param {string} eventType
786 * @param {Object=} properties
787 * @return {jQuery.Event}
788 */
789 jQuery.Event = function(eventType, properties) {};
790
791 /**
792 * @constructor
793 * @extends {jQuery.event}
794 * @param {string} eventType
795 */
796 $.event = function(eventType) {};
797
798 /**
799 * @constructor
800 * @extends {jQuery.event}
801 * @param {string} eventType
802 * @param {Object=} properties
803 * @return {$.Event}
804 */
805 $.Event = function(eventType, properties) {};
806
807 /** @type {Element} */
808 jQuery.event.prototype.currentTarget;
809
810 /** @type {Object.<string, *>} */
811 jQuery.event.prototype.data;
812
813 /** @type {Element} */
814 jQuery.event.prototype.delegateTarget;
815
816 /**
817 * @return {boolean}
818 * @nosideeffects
819 */
820 jQuery.event.prototype.isDefaultPrevented = function() {};
821
822 /**
823 * @return {boolean}
824 * @nosideeffects
825 */
826 jQuery.event.prototype.isImmediatePropagationStopped = function() {};
827
828 /**
829 * @return {boolean}
830 * @nosideeffects
831 */
832 jQuery.event.prototype.isPropagationStopped = function() {};
833
834 /** @type {string} */
835 jQuery.event.prototype.namespace;
836
837 /** @type {Event} */
838 jQuery.event.prototype.originalEvent;
839
840 /** @type {number} */
841 jQuery.event.prototype.pageX;
842
843 /** @type {number} */
844 jQuery.event.prototype.pageY;
845
846 /** @return {undefined} */
847 jQuery.event.prototype.preventDefault = function() {};
848
849 /** @type {Object.<string, *>} */
850 jQuery.event.prototype.props;
851
852 /** @type {Element} */
853 jQuery.event.prototype.relatedTarget;
854
855 /** @type {*} */
856 jQuery.event.prototype.result;
857
858 /** @return {undefined} */
859 jQuery.event.prototype.stopImmediatePropagation = function() {};
860
861 /** @return {undefined} */
862 jQuery.event.prototype.stopPropagation = function() {};
863
864 /** @type {Element} */
865 jQuery.event.prototype.target;
866
867 /** @type {number} */
868 jQuery.event.prototype.timeStamp;
869
870 /** @type {string} */
871 jQuery.event.prototype.type;
872
873 /** @type {number} */
874 jQuery.event.prototype.which;
875
876 /**
877 * @param {(Object|boolean)} arg1
878 * @param {...*} var_args
879 * @return {Object}
880 */
881 jQuery.extend = function(arg1, var_args) {};
882
883 /**
884 * @param {(Object|boolean)} arg1
885 * @param {...*} var_args
886 * @return {Object}
887 */
888 jQuery.prototype.extend = function(arg1, var_args) {};
889
890 /**
891 * @param {(Object|boolean)} arg1
892 * @param {...*} var_args
893 * @return {Object}
894 */
895 $.extend = function(arg1, var_args) {};
896
897 /**
898 * @param {(string|number|function())=} duration
899 * @param {(function()|string)=} arg2
900 * @param {function()=} callback
901 * @return {!jQuery}
902 */
903 jQuery.prototype.fadeIn = function(duration, arg2, callback) {};
904
905 /**
906 * @param {(string|number|function())=} duration
907 * @param {(function()|string)=} arg2
908 * @param {function()=} callback
909 * @return {!jQuery}
910 */
911 jQuery.prototype.fadeOut = function(duration, arg2, callback) {};
912
913 /**
914 * @param {(string|number)} duration
915 * @param {number} opacity
916 * @param {(function()|string)=} arg3
917 * @param {function()=} callback
918 * @return {!jQuery}
919 */
920 jQuery.prototype.fadeTo = function(duration, opacity, arg3, callback) {};
921
922 /**
923 * @param {(string|number|function())=} duration
924 * @param {(string|function())=} easing
925 * @param {function()=} callback
926 * @return {!jQuery}
927 */
928 jQuery.prototype.fadeToggle = function(duration, easing, callback) {};
929
930 /**
931 * @param {(jQuerySelector|function(number)|Element|jQuery)} arg1
932 * @return {!jQuery}
933 */
934 jQuery.prototype.filter = function(arg1) {};
935
936 /**
937 * @param {(jQuerySelector|jQuery|Element)} arg1
938 * @return {!jQuery}
939 * @nosideeffects
940 */
941 jQuery.prototype.find = function(arg1) {};
942
943 /** @return {!jQuery} */
944 jQuery.prototype.first = function() {};
945
946 /** @see http://docs.jquery.com/Plugins/Authoring */
947 jQuery.fn;
948
949 /** @see http://docs.jquery.com/Plugins/Authoring */
950 $.fn;
951
952 /**
953 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
954 * @param {function(!jQuery.event=)=} handler
955 * @return {!jQuery}
956 */
957 jQuery.prototype.focus = function(arg1, handler) {};
958
959 /**
960 * @param {(function(!jQuery.event=)|Object.<string, *>)} arg1
961 * @param {function(!jQuery.event=)=} handler
962 * @return {!jQuery}
963 */
964 jQuery.prototype.focusin = function(arg1, handler) {};
965
966 /**
967 * @param {(function(!jQuery.event=)|Object.<string, *>)} arg1
968 * @param {function(!jQuery.event=)=} handler
969 * @return {!jQuery}
970 */
971 jQuery.prototype.focusout = function(arg1, handler) {};
972
973 /** @const */
974 jQuery.fx = {};
975
976 /** @const */
977 $.fx = {};
978
979 /** @type {number} */
980 jQuery.fx.interval;
981
982 /** @type {number} */
983 $.fx.interval;
984
985 /** @type {boolean} */
986 jQuery.fx.off;
987
988 /** @type {boolean} */
989 $.fx.off;
990
991 /**
992 * @param {string} url
993 * @param {(Object.<string,*>|string|
994 * function(string,string,jQuery.jqXHR))=} data
995 * @param {(function(string,string,jQuery.jqXHR)|string)=} success
996 * @param {string=} dataType
997 * @return {jQuery.jqXHR}
998 */
999 jQuery.get = function(url, data, success, dataType) {};
1000
1001 /**
1002 * @param {number=} index
1003 * @return {(Element|Array.<Element>)}
1004 * @nosideeffects
1005 */
1006 jQuery.prototype.get = function(index) {};
1007
1008 /**
1009 * @param {string} url
1010 * @param {(Object.<string,*>|string|
1011 * function(string,string,jQuery.jqXHR))=} data
1012 * @param {(function(string,string,jQuery.jqXHR)|string)=} success
1013 * @param {string=} dataType
1014 * @return {jQuery.jqXHR}
1015 */
1016 $.get = function(url, data, success, dataType) {};
1017
1018 /**
1019 * @param {string} url
1020 * @param {(Object.<string,*>|function(string,string,jQuery.jqXHR))=} data
1021 * @param {function(string,string,jQuery.jqXHR)=} success
1022 * @return {jQuery.jqXHR}
1023 */
1024 jQuery.getJSON = function(url, data, success) {};
1025
1026 /**
1027 * @param {string} url
1028 * @param {(Object.<string,*>|function(string,string,jQuery.jqXHR))=} data
1029 * @param {function(string,string,jQuery.jqXHR)=} success
1030 * @return {jQuery.jqXHR}
1031 */
1032 $.getJSON = function(url, data, success) {};
1033
1034 /**
1035 * @param {string} url
1036 * @param {function(Node,string,jQuery.jqXHR)=} success
1037 * @return {jQuery.jqXHR}
1038 */
1039 jQuery.getScript = function(url, success) {};
1040
1041 /**
1042 * @param {string} url
1043 * @param {function(Node,string,jQuery.jqXHR)=} success
1044 * @return {jQuery.jqXHR}
1045 */
1046 $.getScript = function(url, success) {};
1047
1048 /** @param {string} code */
1049 jQuery.globalEval = function(code) {};
1050
1051 /** @param {string} code */
1052 $.globalEval = function(code) {};
1053
1054 /**
1055 * @param {Array.<*>} arr
1056 * @param {function(*,number)} fnc
1057 * @param {boolean=} invert
1058 * @return {Array.<*>}
1059 */
1060 jQuery.grep = function(arr, fnc, invert) {};
1061
1062 /**
1063 * @param {Array.<*>} arr
1064 * @param {function(*,number)} fnc
1065 * @param {boolean=} invert
1066 * @return {Array.<*>}
1067 */
1068 $.grep = function(arr, fnc, invert) {};
1069
1070 /**
1071 * @param {(string|Element)} arg1
1072 * @return {!jQuery}
1073 * @nosideeffects
1074 */
1075 jQuery.prototype.has = function(arg1) {};
1076
1077 /**
1078 * @param {string} className
1079 * @return {boolean}
1080 * @nosideeffects
1081 */
1082 jQuery.prototype.hasClass = function(className) {};
1083
1084 /**
1085 * @param {Element} elem
1086 * @return {boolean}
1087 * @nosideeffects
1088 */
1089 jQuery.hasData = function(elem) {};
1090
1091 /**
1092 * @param {Element} elem
1093 * @return {boolean}
1094 * @nosideeffects
1095 */
1096 $.hasData = function(elem) {};
1097
1098 /**
1099 * @param {(string|number|function(number,number))=} arg1
1100 * @return {(number|!jQuery)}
1101 */
1102 jQuery.prototype.height = function(arg1) {};
1103
1104 /**
1105 * @param {(string|number|function())=} duration
1106 * @param {(function()|string)=} arg2
1107 * @param {function()=} callback
1108 * @return {!jQuery}
1109 */
1110 jQuery.prototype.hide = function(duration, arg2, callback) {};
1111
1112 /** @param {boolean} hold */
1113 jQuery.holdReady = function(hold) {};
1114
1115 /** @param {boolean} hold */
1116 $.holdReady = function(hold) {};
1117
1118 /**
1119 * @param {function(!jQuery.event=)} arg1
1120 * @param {function(!jQuery.event=)=} handlerOut
1121 * @return {!jQuery}
1122 */
1123 jQuery.prototype.hover = function(arg1, handlerOut) {};
1124
1125 /**
1126 * @param {(string|function(number,string))=} arg1
1127 * @return {(string|!jQuery)}
1128 */
1129 jQuery.prototype.html = function(arg1) {};
1130
1131 /**
1132 * @param {*} value
1133 * @param {Array.<*>} arr
1134 * @param {number=} fromIndex
1135 * @return {number}
1136 * @nosideeffects
1137 */
1138 jQuery.inArray = function(value, arr, fromIndex) {};
1139
1140 /**
1141 * @param {*} value
1142 * @param {Array.<*>} arr
1143 * @param {number=} fromIndex
1144 * @return {number}
1145 * @nosideeffects
1146 */
1147 $.inArray = function(value, arr, fromIndex) {};
1148
1149 /**
1150 * @param {(jQuerySelector|Element|jQuery)=} arg1
1151 * @return {number}
1152 */
1153 jQuery.prototype.index = function(arg1) {};
1154
1155 /**
1156 * @return {number}
1157 * @nosideeffects
1158 */
1159 jQuery.prototype.innerHeight = function() {};
1160
1161 /**
1162 * @return {number}
1163 * @nosideeffects
1164 */
1165 jQuery.prototype.innerWidth = function() {};
1166
1167 /**
1168 * @param {(jQuerySelector|Element|jQuery)} target
1169 * @return {!jQuery}
1170 */
1171 jQuery.prototype.insertAfter = function(target) {};
1172
1173 /**
1174 * @param {(jQuerySelector|Element|jQuery)} target
1175 * @return {!jQuery}
1176 */
1177 jQuery.prototype.insertBefore = function(target) {};
1178
1179 /**
1180 * @param {(jQuerySelector|function(number)|jQuery|Element)} arg1
1181 * @return {boolean}
1182 */
1183 jQuery.prototype.is = function(arg1) {};
1184
1185 /**
1186 * @param {*} obj
1187 * @return {boolean}
1188 * @nosideeffects
1189 */
1190 jQuery.isArray = function(obj) {};
1191
1192 /**
1193 * @param {*} obj
1194 * @return {boolean}
1195 * @nosideeffects
1196 */
1197 $.isArray = function(obj) {};
1198
1199 /**
1200 * @param {Object} obj
1201 * @return {boolean}
1202 * @nosideeffects
1203 */
1204 jQuery.isEmptyObject = function(obj) {};
1205
1206 /**
1207 * @param {Object} obj
1208 * @return {boolean}
1209 * @nosideeffects
1210 */
1211 $.isEmptyObject = function(obj) {};
1212
1213 /**
1214 * @param {*} obj
1215 * @return {boolean}
1216 * @nosideeffects
1217 */
1218 jQuery.isFunction = function(obj) {};
1219
1220 /**
1221 * @param {*} obj
1222 * @return {boolean}
1223 * @nosideeffects
1224 */
1225 $.isFunction = function(obj) {};
1226
1227 /**
1228 * @param {*} value
1229 * @return {boolean}
1230 * @nosideeffects
1231 */
1232 jQuery.isNumeric = function(value) {};
1233
1234 /**
1235 * @param {*} value
1236 * @return {boolean}
1237 * @nosideeffects
1238 */
1239 $.isNumeric = function(value) {};
1240
1241 /**
1242 * @param {Object} obj
1243 * @return {boolean}
1244 * @nosideeffects
1245 */
1246 jQuery.isPlainObject = function(obj) {};
1247
1248 /**
1249 * @param {Object} obj
1250 * @return {boolean}
1251 * @nosideeffects
1252 */
1253 $.isPlainObject = function(obj) {};
1254
1255 /**
1256 * @param {*} obj
1257 * @return {boolean}
1258 * @nosideeffects
1259 */
1260 jQuery.isWindow = function(obj) {};
1261
1262 /**
1263 * @param {*} obj
1264 * @return {boolean}
1265 * @nosideeffects
1266 */
1267 $.isWindow = function(obj) {};
1268
1269 /**
1270 * @param {Element} node
1271 * @return {boolean}
1272 * @nosideeffects
1273 */
1274 jQuery.isXMLDoc = function(node) {};
1275
1276 /**
1277 * @param {Element} node
1278 * @return {boolean}
1279 * @nosideeffects
1280 */
1281 $.isXMLDoc = function(node) {};
1282
1283 /** @type {string} */
1284 jQuery.prototype.jquery;
1285
1286 /**
1287 * @constructor
1288 * @extends {XMLHttpRequest}
1289 * @implements {jQuery.Promise}
1290 * @private
1291 * @see http://api.jquery.com/jQuery.ajax/#jqXHR
1292 */
1293 jQuery.jqXHR = function () {};
1294
1295 /**
1296 * @override
1297 * @param {jQueryCallback} alwaysCallbacks
1298 * @param {jQueryCallback=} alwaysCallbacks2
1299 * @return {jQuery.jqXHR}
1300 */
1301 jQuery.jqXHR.prototype.always =
1302 function(alwaysCallbacks, alwaysCallbacks2) {};
1303
1304 /**
1305 * @deprecated
1306 * @param {function()} callback
1307 * @return {jQuery.jqXHR}
1308 */
1309 jQuery.jqXHR.prototype.complete = function (callback) {};
1310
1311 /**
1312 * @override
1313 * @param {jQueryCallback} doneCallbacks
1314 * @return {jQuery.jqXHR}
1315 */
1316 jQuery.jqXHR.prototype.done = function(doneCallbacks) {};
1317
1318 /**
1319 * @deprecated
1320 * @param {function()} callback
1321 * @return {jQuery.jqXHR}
1322 */
1323 jQuery.jqXHR.prototype.error = function (callback) {};
1324
1325 /**
1326 * @override
1327 * @param {jQueryCallback} failCallbacks
1328 * @return {jQuery.jqXHR}
1329 */
1330 jQuery.jqXHR.prototype.fail = function(failCallbacks) {};
1331
1332 /**
1333 * @deprecated
1334 * @override
1335 * @return {boolean}
1336 * @nosideeffects
1337 */
1338 jQuery.jqXHR.prototype.isRejected = function() {};
1339
1340 /**
1341 * @deprecated
1342 * @override
1343 * @return {boolean}
1344 * @nosideeffects
1345 */
1346 jQuery.jqXHR.prototype.isResolved = function() {};
1347
1348 /**
1349 * @deprecated
1350 * @override
1351 */
1352 jQuery.jqXHR.prototype.onreadystatechange = function (callback) {};
1353
1354 /**
1355 * @param {function()=} doneFilter
1356 * @param {function()=} failFilter
1357 * @param {function()=} progressFilter
1358 * @return {jQuery.jqXHR}
1359 */
1360 jQuery.jqXHR.prototype.pipe =
1361 function(doneFilter, failFilter, progressFilter) {};
1362
1363 /**
1364 * @deprecated
1365 * @param {function()} callback
1366 * @return {jQuery.jqXHR}
1367 */
1368 jQuery.jqXHR.prototype.success = function (callback) {};
1369
1370 /**
1371 * @override
1372 * @param {jQueryCallback} doneCallbacks
1373 * @param {jQueryCallback=} failCallbacks
1374 * @param {jQueryCallback=} progressCallbacks
1375 * @return {jQuery.jqXHR}
1376 */
1377 jQuery.jqXHR.prototype.then =
1378 function(doneCallbacks, failCallbacks, progressCallbacks) {};
1379
1380 /**
1381 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1382 * @param {function(!jQuery.event=)=} handler
1383 * @return {!jQuery}
1384 */
1385 jQuery.prototype.keydown = function(arg1, handler) {};
1386
1387 /**
1388 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1389 * @param {function(!jQuery.event=)=} handler
1390 * @return {!jQuery}
1391 */
1392 jQuery.prototype.keypress = function(arg1, handler) {};
1393
1394 /**
1395 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1396 * @param {function(!jQuery.event=)=} handler
1397 * @return {!jQuery}
1398 */
1399 jQuery.prototype.keyup = function(arg1, handler) {};
1400
1401 /** @return {!jQuery} */
1402 jQuery.prototype.last = function() {};
1403
1404 /** @type {number} */
1405 jQuery.prototype.length;
1406
1407 /**
1408 * @deprecated
1409 * @param {(string|Object)} arg1
1410 * @param {(function(!jQuery.event=)|Object)=} arg2
1411 * @param {function(!jQuery.event=)=} handler
1412 * @return {!jQuery}
1413 */
1414 jQuery.prototype.live = function(arg1, arg2, handler) {};
1415
1416 /**
1417 * @param {(function(!jQuery.event=)|Object.<string, *>|string)} arg1
1418 * @param {(function(!jQuery.event=)|Object.<string,*>|string)=} arg2
1419 * @param {function(string,string,XMLHttpRequest)=} complete
1420 * @return {!jQuery}
1421 */
1422 jQuery.prototype.load = function(arg1, arg2, complete) {};
1423
1424 /**
1425 * @param {*} obj
1426 * @return {Array.<*>}
1427 */
1428 jQuery.makeArray = function(obj) {};
1429
1430 /**
1431 * @param {*} obj
1432 * @return {Array.<*>}
1433 */
1434 $.makeArray = function(obj) {};
1435
1436 /**
1437 * @param {(Array.<*>|Object.<string, *>)} arg1
1438 * @param {(function(*,number)|function(*,(string|number)))} callback
1439 * @return {Array.<*>}
1440 */
1441 jQuery.map = function(arg1, callback) {};
1442
1443 /**
1444 * @param {function(number,Element)} callback
1445 * @return {!jQuery}
1446 */
1447 jQuery.prototype.map = function(callback) {};
1448
1449 /**
1450 * @param {(Array.<*>|Object.<string, *>)} arg1
1451 * @param {(function(*,number)|function(*,(string|number)))} callback
1452 * @return {Array.<*>}
1453 */
1454 $.map = function(arg1, callback) {};
1455
1456 /**
1457 * @param {Array.<*>} first
1458 * @param {Array.<*>} second
1459 * @return {Array.<*>}
1460 */
1461 jQuery.merge = function(first, second) {};
1462
1463 /**
1464 * @param {Array.<*>} first
1465 * @param {Array.<*>} second
1466 * @return {Array.<*>}
1467 */
1468 $.merge = function(first, second) {};
1469
1470 /**
1471 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1472 * @param {function(!jQuery.event=)=} handler
1473 * @return {!jQuery}
1474 */
1475 jQuery.prototype.mousedown = function(arg1, handler) {};
1476
1477 /**
1478 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1479 * @param {function(!jQuery.event=)=} handler
1480 * @return {!jQuery}
1481 */
1482 jQuery.prototype.mouseenter = function(arg1, handler) {};
1483
1484 /**
1485 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1486 * @param {function(!jQuery.event=)=} handler
1487 * @return {!jQuery}
1488 */
1489 jQuery.prototype.mouseleave = function(arg1, handler) {};
1490
1491 /**
1492 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1493 * @param {function(!jQuery.event=)=} handler
1494 * @return {!jQuery}
1495 */
1496 jQuery.prototype.mousemove = function(arg1, handler) {};
1497
1498 /**
1499 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1500 * @param {function(!jQuery.event=)=} handler
1501 * @return {!jQuery}
1502 */
1503 jQuery.prototype.mouseout = function(arg1, handler) {};
1504
1505 /**
1506 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1507 * @param {function(!jQuery.event=)=} handler
1508 * @return {!jQuery}
1509 */
1510 jQuery.prototype.mouseover = function(arg1, handler) {};
1511
1512 /**
1513 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1514 * @param {function(!jQuery.event=)=} handler
1515 * @return {!jQuery}
1516 */
1517 jQuery.prototype.mouseup = function(arg1, handler) {};
1518
1519 /**
1520 * @param {jQuerySelector=} selector
1521 * @return {!jQuery}
1522 * @nosideeffects
1523 */
1524 jQuery.prototype.next = function(selector) {};
1525
1526 /**
1527 * @param {string=} selector
1528 * @return {!jQuery}
1529 * @nosideeffects
1530 */
1531 jQuery.prototype.nextAll = function(selector) {};
1532
1533 /**
1534 * @param {(jQuerySelector|Element)=} arg1
1535 * @param {jQuerySelector=} filter
1536 * @return {!jQuery}
1537 * @nosideeffects
1538 */
1539 jQuery.prototype.nextUntil = function(arg1, filter) {};
1540
1541 /**
1542 * @param {boolean=} removeAll
1543 * @return {Object}
1544 */
1545 jQuery.noConflict = function(removeAll) {};
1546
1547 /**
1548 * @param {boolean=} removeAll
1549 * @return {Object}
1550 */
1551 $.noConflict = function(removeAll) {};
1552
1553 /**
1554 * @return {function()}
1555 * @nosideeffects
1556 */
1557 jQuery.noop = function() {};
1558
1559 /**
1560 * @return {function()}
1561 * @nosideeffects
1562 */
1563 $.noop = function() {};
1564
1565 /**
1566 * @param {(jQuerySelector|Array.<Element>|function(number)|jQuery)} arg1
1567 * @return {!jQuery}
1568 */
1569 jQuery.prototype.not = function(arg1) {};
1570
1571 /**
1572 * @return {number}
1573 * @nosideeffects
1574 */
1575 jQuery.now = function() {};
1576
1577 /**
1578 * @return {number}
1579 * @nosideeffects
1580 */
1581 $.now = function() {};
1582
1583 /**
1584 * @param {(string|Object.<string,*>)} arg1
1585 * @param {(string|function(!jQuery.event=))=} selector
1586 * @param {function(!jQuery.event=)=} handler
1587 * @return {!jQuery}
1588 */
1589 jQuery.prototype.off = function(arg1, selector, handler) {};
1590
1591 /**
1592 * @param {({left:number,top:number}|
1593 * function(number,{top:number,left:number}))=} arg1
1594 * @return {({left:number,top:number}|!jQuery)}
1595 */
1596 jQuery.prototype.offset = function(arg1) {};
1597
1598 /**
1599 * @return {!jQuery}
1600 * @nosideeffects
1601 */
1602 jQuery.prototype.offsetParent = function() {};
1603
1604 /**
1605 * @param {(string|Object.<string,*>)} arg1
1606 * @param {*=} selector
1607 * @param {*=} data
1608 * @param {function(!jQuery.event=)=} handler
1609 * @return {!jQuery}
1610 */
1611 jQuery.prototype.on = function(arg1, selector, data, handler) {};
1612
1613 /**
1614 * @param {(string|Object.<string,*>)} arg1
1615 * @param {*=} arg2
1616 * @param {*=} arg3
1617 * @param {function(!jQuery.event=)=} handler
1618 * @return {!jQuery}
1619 */
1620 jQuery.prototype.one = function(arg1, arg2, arg3, handler) {};
1621
1622 /**
1623 * @param {boolean=} includeMargin
1624 * @return {number}
1625 * @nosideeffects
1626 */
1627 jQuery.prototype.outerHeight = function(includeMargin) {};
1628
1629 /**
1630 * @param {boolean=} includeMargin
1631 * @return {number}
1632 * @nosideeffects
1633 */
1634 jQuery.prototype.outerWidth = function(includeMargin) {};
1635
1636 /**
1637 * @param {(Object.<string, *>|Array.<Object.<string, *>>)} obj
1638 * @param {boolean=} traditional
1639 * @return {string}
1640 */
1641 jQuery.param = function(obj, traditional) {};
1642
1643 /**
1644 * @param {(Object.<string, *>|Array.<Object.<string, *>>)} obj
1645 * @param {boolean=} traditional
1646 * @return {string}
1647 */
1648 $.param = function(obj, traditional) {};
1649
1650 /**
1651 * @param {jQuerySelector=} selector
1652 * @return {!jQuery}
1653 * @nosideeffects
1654 */
1655 jQuery.prototype.parent = function(selector) {};
1656
1657 /**
1658 * @param {jQuerySelector=} selector
1659 * @return {!jQuery}
1660 * @nosideeffects
1661 */
1662 jQuery.prototype.parents = function(selector) {};
1663
1664 /**
1665 * @param {(jQuerySelector|Element)=} arg1
1666 * @param {jQuerySelector=} filter
1667 * @return {!jQuery}
1668 * @nosideeffects
1669 */
1670 jQuery.prototype.parentsUntil = function(arg1, filter) {};
1671
1672 /**
1673 * @param {string} json
1674 * @return {Object.<string, *>}
1675 */
1676 jQuery.parseJSON = function(json) {};
1677
1678 /**
1679 * @param {string} json
1680 * @return {Object.<string, *>}
1681 */
1682 $.parseJSON = function(json) {};
1683
1684 /**
1685 * @param {string} data
1686 * @return {Document}
1687 */
1688 jQuery.parseXML = function(data) {};
1689
1690 /**
1691 * @param {string} data
1692 * @return {Document}
1693 */
1694 $.parseXML = function(data) {};
1695
1696 /**
1697 * @return {{left:number,top:number}}
1698 * @nosideeffects
1699 */
1700 jQuery.prototype.position = function() {};
1701
1702 /**
1703 * @param {string} url
1704 * @param {(Object.<string,*>|string|
1705 * function(string,string,jQuery.jqXHR))=} data
1706 * @param {(function(string,string,jQuery.jqXHR)|string)=} success
1707 * @param {string=} dataType
1708 * @return {jQuery.jqXHR}
1709 */
1710 jQuery.post = function(url, data, success, dataType) {};
1711
1712 /**
1713 * @param {string} url
1714 * @param {(Object.<string,*>|string|
1715 * function(string,string,jQuery.jqXHR))=} data
1716 * @param {(function(string,string,jQuery.jqXHR)|string)=} success
1717 * @param {string=} dataType
1718 * @return {jQuery.jqXHR}
1719 */
1720 $.post = function(url, data, success, dataType) {};
1721
1722 /**
1723 * @param {(string|Element|jQuery|function(number,string))} arg1
1724 * @param {(string|Element|jQuery)=} content
1725 * @return {!jQuery}
1726 */
1727 jQuery.prototype.prepend = function(arg1, content) {};
1728
1729 /**
1730 * @param {(jQuerySelector|Element|jQuery)} target
1731 * @return {!jQuery}
1732 */
1733 jQuery.prototype.prependTo = function(target) {};
1734
1735 /**
1736 * @param {jQuerySelector=} selector
1737 * @return {!jQuery}
1738 * @nosideeffects
1739 */
1740 jQuery.prototype.prev = function(selector) {};
1741
1742 /**
1743 * @param {jQuerySelector=} selector
1744 * @return {!jQuery}
1745 * @nosideeffects
1746 */
1747 jQuery.prototype.prevAll = function(selector) {};
1748
1749 /**
1750 * @param {(jQuerySelector|Element)=} arg1
1751 * @param {jQuerySelector=} filter
1752 * @return {!jQuery}
1753 * @nosideeffects
1754 */
1755 jQuery.prototype.prevUntil = function(arg1, filter) {};
1756
1757 /**
1758 * @param {(string|Object)=} type
1759 * @param {Object=} target
1760 * @return {jQuery.Promise}
1761 */
1762 jQuery.prototype.promise = function(type, target) {};
1763
1764 /**
1765 * @interface
1766 * @private
1767 * @see http://api.jquery.com/Types/#Promise
1768 */
1769 jQuery.Promise = function () {};
1770
1771 /**
1772 * @param {jQueryCallback} alwaysCallbacks
1773 * @param {jQueryCallback=} alwaysCallbacks2
1774 * @return {jQuery.Promise}
1775 */
1776 jQuery.Promise.prototype.always =
1777 function(alwaysCallbacks, alwaysCallbacks2) {};
1778
1779 /**
1780 * @param {jQueryCallback} doneCallbacks
1781 * @return {jQuery.Promise}
1782 */
1783 jQuery.Promise.prototype.done = function(doneCallbacks) {};
1784
1785 /**
1786 * @param {jQueryCallback} failCallbacks
1787 * @return {jQuery.Promise}
1788 */
1789 jQuery.Promise.prototype.fail = function(failCallbacks) {};
1790
1791 /**
1792 * @deprecated
1793 * @return {boolean}
1794 * @nosideeffects
1795 */
1796 jQuery.Promise.prototype.isRejected = function() {};
1797
1798 /**
1799 * @deprecated
1800 * @return {boolean}
1801 * @nosideeffects
1802 */
1803 jQuery.Promise.prototype.isResolved = function() {};
1804
1805 /**
1806 * @param {function()=} doneFilter
1807 * @param {function()=} failFilter
1808 * @param {function()=} progressFilter
1809 * @return {jQuery.Promise}
1810 */
1811 jQuery.Promise.prototype.pipe =
1812 function(doneFilter, failFilter, progressFilter) {};
1813
1814 /**
1815 * @param {jQueryCallback} doneCallbacks
1816 * @param {jQueryCallback=} failCallbacks
1817 * @param {jQueryCallback=} progressCallbacks
1818 * @return {jQuery.Promise}
1819 */
1820 jQuery.Promise.prototype.then =
1821 function(doneCallbacks, failCallbacks, progressCallbacks) {};
1822
1823 /**
1824 * @param {(string|Object.<string,*>)} arg1
1825 * @param {(string|number|boolean|function(number,String))=} arg2
1826 * @return {(string|!jQuery)}
1827 */
1828 jQuery.prototype.prop = function(arg1, arg2) {};
1829
1830 /**
1831 * @param {...*} var_args
1832 * @return {function()}
1833 */
1834 jQuery.proxy = function(var_args) {};
1835
1836 /**
1837 * @param {...*} var_args
1838 * @return {function()}
1839 */
1840 $.proxy = function(var_args) {};
1841
1842 /**
1843 * @param {Array.<Element>} elements
1844 * @param {string=} name
1845 * @param {Array.<*>=} args
1846 * @return {!jQuery}
1847 */
1848 jQuery.prototype.pushStack = function(elements, name, args) {};
1849
1850 /**
1851 * @param {(string|Array.<function()>|function(function()))=} queueName
1852 * @param {(Array.<function()>|function(function()))=} arg2
1853 * @return {(Array.<Element>|!jQuery)}
1854 */
1855 jQuery.prototype.queue = function(queueName, arg2) {};
1856
1857 /**
1858 * @param {Element} elem
1859 * @param {string=} queueName
1860 * @param {(Array.<function()>|function())=} arg3
1861 * @return {(Array.<Element>|!jQuery)}
1862 */
1863 jQuery.queue = function(elem, queueName, arg3) {};
1864
1865 /**
1866 * @param {Element} elem
1867 * @param {string=} queueName
1868 * @param {(Array.<function()>|function())=} arg3
1869 * @return {(Array.<Element>|!jQuery)}
1870 */
1871 $.queue = function(elem, queueName, arg3) {};
1872
1873 /**
1874 * @param {function()} handler
1875 * @return {!jQuery}
1876 */
1877 jQuery.prototype.ready = function(handler) {};
1878
1879 /**
1880 * @param {string=} selector
1881 * @return {!jQuery}
1882 */
1883 jQuery.prototype.remove = function(selector) {};
1884
1885 /**
1886 * @param {string} attributeName
1887 * @return {!jQuery}
1888 */
1889 jQuery.prototype.removeAttr = function(attributeName) {};
1890
1891 /**
1892 * @param {(string|function(number,string))=} arg1
1893 * @return {!jQuery}
1894 */
1895 jQuery.prototype.removeClass = function(arg1) {};
1896
1897 /**
1898 * @param {(string|Array.<string>)=} arg1
1899 * @return {!jQuery}
1900 */
1901 jQuery.prototype.removeData = function(arg1) {};
1902
1903 /**
1904 * @param {Element} elem
1905 * @param {string=} name
1906 * @return {!jQuery}
1907 */
1908 jQuery.removeData = function(elem, name) {};
1909
1910 /**
1911 * @param {Element} elem
1912 * @param {string=} name
1913 * @return {!jQuery}
1914 */
1915 $.removeData = function(elem, name) {};
1916
1917 /**
1918 * @param {string} propertyName
1919 * @return {!jQuery}
1920 */
1921 jQuery.prototype.removeProp = function(propertyName) {};
1922
1923 /**
1924 * @param {jQuerySelector} target
1925 * @return {!jQuery}
1926 */
1927 jQuery.prototype.replaceAll = function(target) {};
1928
1929 /**
1930 * @param {(string|Element|jQuery|function())} arg1
1931 * @return {!jQuery}
1932 */
1933 jQuery.prototype.replaceWith = function(arg1) {};
1934
1935 /**
1936 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1937 * @param {function(!jQuery.event=)=} handler
1938 * @return {!jQuery}
1939 */
1940 jQuery.prototype.resize = function(arg1, handler) {};
1941
1942 /**
1943 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1944 * @param {function(!jQuery.event=)=} handler
1945 * @return {!jQuery}
1946 */
1947 jQuery.prototype.scroll = function(arg1, handler) {};
1948
1949 /**
1950 * @param {number=} value
1951 * @return {(number|!jQuery)}
1952 */
1953 jQuery.prototype.scrollLeft = function(value) {};
1954
1955 /**
1956 * @param {number=} value
1957 * @return {(number|!jQuery)}
1958 */
1959 jQuery.prototype.scrollTop = function(value) {};
1960
1961 /**
1962 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1963 * @param {function(!jQuery.event=)=} handler
1964 * @return {!jQuery}
1965 */
1966 jQuery.prototype.select = function(arg1, handler) {};
1967
1968 /**
1969 * @return {string}
1970 * @nosideeffects
1971 */
1972 jQuery.prototype.serialize = function() {};
1973
1974 /**
1975 * @return {Array.<Object.<string, *>>}
1976 * @nosideeffects
1977 */
1978 jQuery.prototype.serializeArray = function() {};
1979
1980 /**
1981 * @param {(string|number|function())=} duration
1982 * @param {(function()|string)=} arg2
1983 * @param {function()=} callback
1984 * @return {!jQuery}
1985 */
1986 jQuery.prototype.show = function(duration, arg2, callback) {};
1987
1988 /**
1989 * @param {jQuerySelector=} selector
1990 * @return {!jQuery}
1991 * @nosideeffects
1992 */
1993 jQuery.prototype.siblings = function(selector) {};
1994
1995 /**
1996 * @return {number}
1997 * @nosideeffects
1998 */
1999 jQuery.prototype.size = function() {};
2000
2001 /**
2002 * @param {number} start
2003 * @param {number=} end
2004 * @return {!jQuery}
2005 */
2006 jQuery.prototype.slice = function(start, end) {};
2007
2008 /**
2009 * @param {(string|number|function())=} duration
2010 * @param {(function()|string)=} arg2
2011 * @param {function()=} callback
2012 * @return {!jQuery}
2013 */
2014 jQuery.prototype.slideDown = function(duration, arg2, callback) {};
2015
2016 /**
2017 * @param {(string|number|function())=} duration
2018 * @param {(function()|string)=} arg2
2019 * @param {function()=} callback
2020 * @return {!jQuery}
2021 */
2022 jQuery.prototype.slideToggle = function(duration, arg2, callback) {};
2023
2024 /**
2025 * @param {(string|number|function())=} duration
2026 * @param {(function()|string)=} arg2
2027 * @param {function()=} callback
2028 * @return {!jQuery}
2029 */
2030 jQuery.prototype.slideUp = function(duration, arg2, callback) {};
2031
2032 /**
2033 * @param {(boolean|string)=} arg1
2034 * @param {boolean=} arg2
2035 * @param {boolean=} jumpToEnd
2036 * @return {!jQuery}
2037 */
2038 jQuery.prototype.stop = function(arg1, arg2, jumpToEnd) {};
2039
2040 /**
2041 * @deprecated
2042 * @return {!jQuery}
2043 * @nosideeffects
2044 */
2045 jQuery.sub = function() {};
2046
2047 /**
2048 * @deprecated
2049 * @return {!jQuery}
2050 * @nosideeffects
2051 */
2052 $.sub = function() {};
2053
2054 /**
2055 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
2056 * @param {function(!jQuery.event=)=} handler
2057 * @return {!jQuery}
2058 */
2059 jQuery.prototype.submit = function(arg1, handler) {};
2060
2061 /** @type {Object.<string, *>} */
2062 jQuery.support;
2063
2064 /** @type {Object.<string, *>} */
2065 $.support;
2066
2067 /** @type {boolean} */
2068 jQuery.support.boxModel;
2069
2070 /** @type {boolean} */
2071 $.support.boxModel;
2072
2073 /** @type {boolean} */
2074 jQuery.support.changeBubbles;
2075
2076 /** @type {boolean} */
2077 $.support.changeBubbles;
2078
2079 /** @type {boolean} */
2080 jQuery.support.cssFloat;
2081
2082 /** @type {boolean} */
2083 $.support.cssFloat;
2084
2085 /** @type {boolean} */
2086 jQuery.support.fixedPosition;
2087
2088 /** @type {boolean} */
2089 $.support.fixedPosition;
2090
2091 /** @type {boolean} */
2092 jQuery.support.hrefNormalized;
2093
2094 /** @type {boolean} */
2095 $.support.hrefNormalized;
2096
2097 /** @type {boolean} */
2098 jQuery.support.htmlSerialize;
2099
2100 /** @type {boolean} */
2101 $.support.htmlSerialize;
2102
2103 /** @type {boolean} */
2104 jQuery.support.leadingWhitespace;
2105
2106 /** @type {boolean} */
2107 $.support.leadingWhitespace;
2108
2109 /** @type {boolean} */
2110 jQuery.support.noCloneEvent;
2111
2112 /** @type {boolean} */
2113 $.support.noCloneEvent;
2114
2115 /** @type {boolean} */
2116 jQuery.support.opacity;
2117
2118 /** @type {boolean} */
2119 $.support.opacity;
2120
2121 /** @type {boolean} */
2122 jQuery.support.scriptEval;
2123
2124 /** @type {boolean} */
2125 $.support.scriptEval;
2126
2127 /** @type {boolean} */
2128 jQuery.support.style;
2129
2130 /** @type {boolean} */
2131 $.support.style;
2132
2133 /** @type {boolean} */
2134 jQuery.support.submitBubbles;
2135
2136 /** @type {boolean} */
2137 $.support.submitBubbles;
2138
2139 /** @type {boolean} */
2140 jQuery.support.tbody;
2141
2142 /** @type {boolean} */
2143 $.support.tbody;
2144
2145 /**
2146 * @param {(string|function(number,string))=} arg1
2147 * @return {(string|!jQuery)}
2148 */
2149 jQuery.prototype.text = function(arg1) {};
2150
2151 /**
2152 * @return {Array.<Element>}
2153 * @nosideeffects
2154 */
2155 jQuery.prototype.toArray = function() {};
2156
2157 /**
2158 * @param {(function(!jQuery.event=)|string|number|function()|boolean)=} arg1
2159 * @param {(function(!jQuery.event=)|function()|string)=} arg2
2160 * @param {(function(!jQuery.event=)|function())=} arg3
2161 * @return {!jQuery}
2162 */
2163 jQuery.prototype.toggle = function(arg1, arg2, arg3) {};
2164
2165 /**
2166 * @param {(string|boolean|function(number,string,boolean))=} arg1
2167 * @param {boolean=} flag
2168 * @return {!jQuery}
2169 */
2170 jQuery.prototype.toggleClass = function(arg1, flag) {};
2171
2172 /**
2173 * @param {(string|jQuery.event)} arg1
2174 * @param {...*} var_args
2175 * @return {!jQuery}
2176 */
2177 jQuery.prototype.trigger = function(arg1, var_args) {};
2178
2179 /**
2180 * @param {string} eventType
2181 * @param {Array.<*>=} extraParameters
2182 * @return {*}
2183 */
2184 jQuery.prototype.triggerHandler = function(eventType, extraParameters) {};
2185
2186 /**
2187 * @param {string} str
2188 * @return {string}
2189 * @nosideeffects
2190 */
2191 jQuery.trim = function(str) {};
2192
2193 /**
2194 * @param {string} str
2195 * @return {string}
2196 * @nosideeffects
2197 */
2198 $.trim = function(str) {};
2199
2200 /**
2201 * @param {*} obj
2202 * @return {string}
2203 * @nosideeffects
2204 */
2205 jQuery.type = function(obj) {};
2206
2207 /**
2208 * @param {*} obj
2209 * @return {string}
2210 * @nosideeffects
2211 */
2212 $.type = function(obj) {};
2213
2214 /**
2215 * @param {(string|function(!jQuery.event=)|jQuery.event)=} arg1
2216 * @param {(function(!jQuery.event=)|boolean)=} arg2
2217 * @return {!jQuery}
2218 */
2219 jQuery.prototype.unbind = function(arg1, arg2) {};
2220
2221 /**
2222 * @param {string=} arg1
2223 * @param {(string|Object.<string,*>)=} arg2
2224 * @param {function(!jQuery.event=)=} handler
2225 * @return {!jQuery}
2226 */
2227 jQuery.prototype.undelegate = function(arg1, arg2, handler) {};
2228
2229 /**
2230 * @param {Array.<Element>} arr
2231 * @return {Array.<Element>}
2232 */
2233 jQuery.unique = function(arr) {};
2234
2235 /**
2236 * @param {Array.<Element>} arr
2237 * @return {Array.<Element>}
2238 */
2239 $.unique = function(arr) {};
2240
2241 /**
2242 * @param {(function(!jQuery.event=)|Object.<string, *>)} arg1
2243 * @param {function(!jQuery.event=)=} handler
2244 * @return {!jQuery}
2245 */
2246 jQuery.prototype.unload = function(arg1, handler) {};
2247
2248 /** @return {!jQuery} */
2249 jQuery.prototype.unwrap = function() {};
2250
2251 /**
2252 * @param {(string|Array.<string>|function(number,*))=} arg1
2253 * @return {(string|number|Array.<string>|!jQuery)}
2254 */
2255 jQuery.prototype.val = function(arg1) {};
2256
2257 /**
2258 * @param {jQuery.deferred} deferred
2259 * @param {...jQuery.deferred} deferreds
2260 * @return {jQuery.Promise}
2261 */
2262 jQuery.when = function(deferred, deferreds) {};
2263
2264 /**
2265 * @param {jQuery.deferred} deferred
2266 * @param {...jQuery.deferred} deferreds
2267 * @return {jQuery.Promise}
2268 */
2269 $.when = function(deferred, deferreds) {};
2270
2271 /**
2272 * @param {(string|number|function(number,number))=} arg1
2273 * @return {(number|!jQuery)}
2274 */
2275 jQuery.prototype.width = function(arg1) {};
2276
2277 /**
2278 * @param {(string|jQuerySelector|Element|jQuery|function(number))} arg1
2279 * @return {!jQuery}
2280 */
2281 jQuery.prototype.wrap = function(arg1) {};
2282
2283 /**
2284 * @param {(string|jQuerySelector|Element|jQuery)} wrappingElement
2285 * @return {!jQuery}
2286 */
2287 jQuery.prototype.wrapAll = function(wrappingElement) {};
2288
2289 /**
2290 * @param {(string|function(number))} arg1
2291 * @return {!jQuery}
2292 */
2293 jQuery.prototype.wrapInner = function(arg1) {};