Debian Codegraph @

contrib/externs/jquery-1.8.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.8.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|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}
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 * @param {...*} var_args
592 * @return {jQuery.deferred}
593 */
594 jQuery.deferred.prototype.notify = function(var_args) {};
595
596 /**
597 * @param {Object} context
598 * @param {...*} var_args
599 * @return {jQuery.deferred}
600 */
601 jQuery.deferred.prototype.notifyWith = function(context, var_args) {};
602
603 /**
604 * @override
605 * @param {function()=} doneFilter
606 * @param {function()=} failFilter
607 * @param {function()=} progressFilter
608 * @return {jQuery.Promise}
609 */
610 jQuery.deferred.prototype.pipe
611 = function(doneFilter, failFilter, progressFilter) {};
612
613 /**
614 * @param {function()} progressCallbacks
615 * @return {jQuery.deferred}
616 */
617 jQuery.deferred.prototype.progress = function(progressCallbacks) {};
618
619 /**
620 * @param {Object=} target
621 * @return {jQuery.Promise}
622 */
623 jQuery.deferred.prototype.promise = function(target) {};
624
625 /**
626 * @param {...*} var_args
627 * @return {jQuery.deferred}
628 */
629 jQuery.deferred.prototype.reject = function(var_args) {};
630
631 /**
632 * @param {Object} context
633 * @param {Array.<*>=} args
634 * @return {jQuery.deferred}
635 */
636 jQuery.deferred.prototype.rejectWith = function(context, args) {};
637
638 /**
639 * @param {...*} var_args
640 * @return {jQuery.deferred}
641 */
642 jQuery.deferred.prototype.resolve = function(var_args) {};
643
644 /**
645 * @param {Object} context
646 * @param {Array.<*>=} args
647 * @return {jQuery.deferred}
648 */
649 jQuery.deferred.prototype.resolveWith = function(context, args) {};
650
651 /** @return {string} */
652 jQuery.deferred.prototype.state = function() {};
653
654 /**
655 * @override
656 * @param {jQueryCallback} doneCallbacks
657 * @param {jQueryCallback=} failCallbacks
658 * @param {jQueryCallback=} progressCallbacks
659 * @return {jQuery.deferred}
660 */
661 jQuery.deferred.prototype.then
662 = function(doneCallbacks, failCallbacks, progressCallbacks) {};
663
664 /**
665 * @param {number} duration
666 * @param {string=} queueName
667 * @return {!jQuery}
668 */
669 jQuery.prototype.delay = function(duration, queueName) {};
670
671 /**
672 * @param {string} selector
673 * @param {(string|Object.<string,*>)} arg2
674 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg3
675 * @param {function(!jQuery.event=)=} handler
676 * @return {!jQuery}
677 */
678 jQuery.prototype.delegate = function(selector, arg2, arg3, handler) {};
679
680 /**
681 * @param {Element} elem
682 * @param {string=} queueName
683 */
684 jQuery.dequeue = function(elem, queueName) {};
685
686 /**
687 * @param {string=} queueName
688 * @return {!jQuery}
689 */
690 jQuery.prototype.dequeue = function(queueName) {};
691
692 /**
693 * @param {Element} elem
694 * @param {string=} queueName
695 */
696 $.dequeue = function(elem, queueName) {};
697
698 /**
699 * @param {jQuerySelector=} selector
700 * @return {!jQuery}
701 */
702 jQuery.prototype.detach = function(selector) {};
703
704 /**
705 * @deprecated
706 * @param {(string|Object.<string,*>)=} arg1
707 * @param {string=} handler
708 * @return {!jQuery}
709 */
710 jQuery.prototype.die = function(arg1, handler) {};
711
712 /**
713 * @param {Object} collection
714 * @param {function(number,?)} callback
715 * @return {Object}
716 */
717 jQuery.each = function(collection, callback) {};
718
719 /**
720 * @param {function(number,Element)} fnc
721 * @return {!jQuery}
722 */
723 jQuery.prototype.each = function(fnc) {};
724
725 /**
726 * @param {Object} collection
727 * @param {function(number,?)} callback
728 * @return {Object}
729 */
730 $.each = function(collection, callback) {};
731
732 /** @return {!jQuery} */
733 jQuery.prototype.empty = function() {};
734
735 /**
736 * @return {!jQuery}
737 * @nosideeffects
738 */
739 jQuery.prototype.end = function() {};
740
741 /**
742 * @param {number} arg1
743 * @return {!jQuery}
744 */
745 jQuery.prototype.eq = function(arg1) {};
746
747 /** @param {string} message */
748 jQuery.error = function(message) {};
749
750 /**
751 * @deprecated
752 * @param {(function(!jQuery.event=)|Object.<string, *>)} arg1
753 * @param {function(!jQuery.event=)=} handler
754 * @return {!jQuery}
755 */
756 jQuery.prototype.error = function(arg1, handler) {};
757
758 /** @param {string} message */
759 $.error = function(message) {};
760
761 /**
762 * @constructor
763 * @param {string} eventType
764 */
765 jQuery.event = function(eventType) {};
766
767 /**
768 * @constructor
769 * @extends {jQuery.event}
770 * @param {string} eventType
771 * @param {Object=} properties
772 * @return {jQuery.Event}
773 */
774 jQuery.Event = function(eventType, properties) {};
775
776 /**
777 * @constructor
778 * @extends {jQuery.event}
779 * @param {string} eventType
780 */
781 $.event = function(eventType) {};
782
783 /**
784 * @constructor
785 * @extends {jQuery.event}
786 * @param {string} eventType
787 * @param {Object=} properties
788 * @return {$.Event}
789 */
790 $.Event = function(eventType, properties) {};
791
792 /** @type {Element} */
793 jQuery.event.prototype.currentTarget;
794
795 /** @type {Object.<string, *>} */
796 jQuery.event.prototype.data;
797
798 /** @type {Element} */
799 jQuery.event.prototype.delegateTarget;
800
801 /**
802 * @return {boolean}
803 * @nosideeffects
804 */
805 jQuery.event.prototype.isDefaultPrevented = function() {};
806
807 /**
808 * @return {boolean}
809 * @nosideeffects
810 */
811 jQuery.event.prototype.isImmediatePropagationStopped = function() {};
812
813 /**
814 * @return {boolean}
815 * @nosideeffects
816 */
817 jQuery.event.prototype.isPropagationStopped = function() {};
818
819 /** @type {string} */
820 jQuery.event.prototype.namespace;
821
822 /** @type {Event} */
823 jQuery.event.prototype.originalEvent;
824
825 /** @type {number} */
826 jQuery.event.prototype.pageX;
827
828 /** @type {number} */
829 jQuery.event.prototype.pageY;
830
831 /** @return {undefined} */
832 jQuery.event.prototype.preventDefault = function() {};
833
834 /** @type {Object.<string, *>} */
835 jQuery.event.prototype.props;
836
837 /** @type {Element} */
838 jQuery.event.prototype.relatedTarget;
839
840 /** @type {*} */
841 jQuery.event.prototype.result;
842
843 /** @return {undefined} */
844 jQuery.event.prototype.stopImmediatePropagation = function() {};
845
846 /** @return {undefined} */
847 jQuery.event.prototype.stopPropagation = function() {};
848
849 /** @type {Element} */
850 jQuery.event.prototype.target;
851
852 /** @type {number} */
853 jQuery.event.prototype.timeStamp;
854
855 /** @type {string} */
856 jQuery.event.prototype.type;
857
858 /** @type {number} */
859 jQuery.event.prototype.which;
860
861 /**
862 * @param {(Object|boolean)} arg1
863 * @param {...*} var_args
864 * @return {Object}
865 */
866 jQuery.extend = function(arg1, var_args) {};
867
868 /**
869 * @param {(Object|boolean)} arg1
870 * @param {...*} var_args
871 * @return {Object}
872 */
873 jQuery.prototype.extend = function(arg1, var_args) {};
874
875 /**
876 * @param {(Object|boolean)} arg1
877 * @param {...*} var_args
878 * @return {Object}
879 */
880 $.extend = function(arg1, var_args) {};
881
882 /**
883 * @param {(string|number|function())=} duration
884 * @param {(function()|string)=} arg2
885 * @param {function()=} callback
886 * @return {!jQuery}
887 */
888 jQuery.prototype.fadeIn = function(duration, arg2, callback) {};
889
890 /**
891 * @param {(string|number|function())=} duration
892 * @param {(function()|string)=} arg2
893 * @param {function()=} callback
894 * @return {!jQuery}
895 */
896 jQuery.prototype.fadeOut = function(duration, arg2, callback) {};
897
898 /**
899 * @param {(string|number)} duration
900 * @param {number} opacity
901 * @param {(function()|string)=} arg3
902 * @param {function()=} callback
903 * @return {!jQuery}
904 */
905 jQuery.prototype.fadeTo = function(duration, opacity, arg3, callback) {};
906
907 /**
908 * @param {(string|number|function())=} duration
909 * @param {(string|function())=} easing
910 * @param {function()=} callback
911 * @return {!jQuery}
912 */
913 jQuery.prototype.fadeToggle = function(duration, easing, callback) {};
914
915 /**
916 * @param {(jQuerySelector|function(number)|Element|jQuery)} arg1
917 * @return {!jQuery}
918 */
919 jQuery.prototype.filter = function(arg1) {};
920
921 /**
922 * @param {(jQuerySelector|jQuery|Element)} arg1
923 * @return {!jQuery}
924 * @nosideeffects
925 */
926 jQuery.prototype.find = function(arg1) {};
927
928 /** @return {!jQuery} */
929 jQuery.prototype.first = function() {};
930
931 /** @see http://docs.jquery.com/Plugins/Authoring */
932 jQuery.fn;
933
934 /** @see http://docs.jquery.com/Plugins/Authoring */
935 $.fn;
936
937 /**
938 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
939 * @param {function(!jQuery.event=)=} handler
940 * @return {!jQuery}
941 */
942 jQuery.prototype.focus = function(arg1, handler) {};
943
944 /**
945 * @param {(function(!jQuery.event=)|Object.<string, *>)} arg1
946 * @param {function(!jQuery.event=)=} handler
947 * @return {!jQuery}
948 */
949 jQuery.prototype.focusin = function(arg1, handler) {};
950
951 /**
952 * @param {(function(!jQuery.event=)|Object.<string, *>)} arg1
953 * @param {function(!jQuery.event=)=} handler
954 * @return {!jQuery}
955 */
956 jQuery.prototype.focusout = function(arg1, handler) {};
957
958 /** @const */
959 jQuery.fx = {};
960
961 /** @const */
962 $.fx = {};
963
964 /** @type {number} */
965 jQuery.fx.interval;
966
967 /** @type {number} */
968 $.fx.interval;
969
970 /** @type {boolean} */
971 jQuery.fx.off;
972
973 /** @type {boolean} */
974 $.fx.off;
975
976 /**
977 * @param {string} url
978 * @param {(Object.<string,*>|string|
979 * function(string,string,jQuery.jqXHR))=} data
980 * @param {(function(string,string,jQuery.jqXHR)|string)=} success
981 * @param {string=} dataType
982 * @return {jQuery.jqXHR}
983 */
984 jQuery.get = function(url, data, success, dataType) {};
985
986 /**
987 * @param {number=} index
988 * @return {(Element|Array.<Element>)}
989 * @nosideeffects
990 */
991 jQuery.prototype.get = function(index) {};
992
993 /**
994 * @param {string} url
995 * @param {(Object.<string,*>|string|
996 * function(string,string,jQuery.jqXHR))=} data
997 * @param {(function(string,string,jQuery.jqXHR)|string)=} success
998 * @param {string=} dataType
999 * @return {jQuery.jqXHR}
1000 */
1001 $.get = function(url, data, success, dataType) {};
1002
1003 /**
1004 * @param {string} url
1005 * @param {(Object.<string,*>|function(string,string,jQuery.jqXHR))=} data
1006 * @param {function(string,string,jQuery.jqXHR)=} success
1007 * @return {jQuery.jqXHR}
1008 */
1009 jQuery.getJSON = function(url, data, success) {};
1010
1011 /**
1012 * @param {string} url
1013 * @param {(Object.<string,*>|function(string,string,jQuery.jqXHR))=} data
1014 * @param {function(string,string,jQuery.jqXHR)=} success
1015 * @return {jQuery.jqXHR}
1016 */
1017 $.getJSON = function(url, data, success) {};
1018
1019 /**
1020 * @param {string} url
1021 * @param {function(Node,string,jQuery.jqXHR)=} success
1022 * @return {jQuery.jqXHR}
1023 */
1024 jQuery.getScript = function(url, success) {};
1025
1026 /**
1027 * @param {string} url
1028 * @param {function(Node,string,jQuery.jqXHR)=} success
1029 * @return {jQuery.jqXHR}
1030 */
1031 $.getScript = function(url, success) {};
1032
1033 /** @param {string} code */
1034 jQuery.globalEval = function(code) {};
1035
1036 /** @param {string} code */
1037 $.globalEval = function(code) {};
1038
1039 /**
1040 * @param {Array.<*>} arr
1041 * @param {function(*,number)} fnc
1042 * @param {boolean=} invert
1043 * @return {Array.<*>}
1044 */
1045 jQuery.grep = function(arr, fnc, invert) {};
1046
1047 /**
1048 * @param {Array.<*>} arr
1049 * @param {function(*,number)} fnc
1050 * @param {boolean=} invert
1051 * @return {Array.<*>}
1052 */
1053 $.grep = function(arr, fnc, invert) {};
1054
1055 /**
1056 * @param {(string|Element)} arg1
1057 * @return {!jQuery}
1058 * @nosideeffects
1059 */
1060 jQuery.prototype.has = function(arg1) {};
1061
1062 /**
1063 * @param {string} className
1064 * @return {boolean}
1065 * @nosideeffects
1066 */
1067 jQuery.prototype.hasClass = function(className) {};
1068
1069 /**
1070 * @param {Element} elem
1071 * @return {boolean}
1072 * @nosideeffects
1073 */
1074 jQuery.hasData = function(elem) {};
1075
1076 /**
1077 * @param {Element} elem
1078 * @return {boolean}
1079 * @nosideeffects
1080 */
1081 $.hasData = function(elem) {};
1082
1083 /**
1084 * @param {(string|number|function(number,number))=} arg1
1085 * @return {(number|!jQuery)}
1086 */
1087 jQuery.prototype.height = function(arg1) {};
1088
1089 /**
1090 * @param {(string|number|function())=} duration
1091 * @param {(function()|string)=} arg2
1092 * @param {function()=} callback
1093 * @return {!jQuery}
1094 */
1095 jQuery.prototype.hide = function(duration, arg2, callback) {};
1096
1097 /** @param {boolean} hold */
1098 jQuery.holdReady = function(hold) {};
1099
1100 /** @param {boolean} hold */
1101 $.holdReady = function(hold) {};
1102
1103 /**
1104 * @param {function(!jQuery.event=)} arg1
1105 * @param {function(!jQuery.event=)=} handlerOut
1106 * @return {!jQuery}
1107 */
1108 jQuery.prototype.hover = function(arg1, handlerOut) {};
1109
1110 /**
1111 * @param {(string|function(number,string))=} arg1
1112 * @return {(string|!jQuery)}
1113 */
1114 jQuery.prototype.html = function(arg1) {};
1115
1116 /**
1117 * @param {*} value
1118 * @param {Array.<*>} arr
1119 * @param {number=} fromIndex
1120 * @return {number}
1121 * @nosideeffects
1122 */
1123 jQuery.inArray = function(value, arr, fromIndex) {};
1124
1125 /**
1126 * @param {*} value
1127 * @param {Array.<*>} arr
1128 * @param {number=} fromIndex
1129 * @return {number}
1130 * @nosideeffects
1131 */
1132 $.inArray = function(value, arr, fromIndex) {};
1133
1134 /**
1135 * @param {(jQuerySelector|Element|jQuery)=} arg1
1136 * @return {number}
1137 */
1138 jQuery.prototype.index = function(arg1) {};
1139
1140 /**
1141 * @return {number}
1142 * @nosideeffects
1143 */
1144 jQuery.prototype.innerHeight = function() {};
1145
1146 /**
1147 * @return {number}
1148 * @nosideeffects
1149 */
1150 jQuery.prototype.innerWidth = function() {};
1151
1152 /**
1153 * @param {(jQuerySelector|Element|jQuery)} target
1154 * @return {!jQuery}
1155 */
1156 jQuery.prototype.insertAfter = function(target) {};
1157
1158 /**
1159 * @param {(jQuerySelector|Element|jQuery)} target
1160 * @return {!jQuery}
1161 */
1162 jQuery.prototype.insertBefore = function(target) {};
1163
1164 /**
1165 * @param {(jQuerySelector|function(number)|jQuery|Element)} arg1
1166 * @return {boolean}
1167 */
1168 jQuery.prototype.is = function(arg1) {};
1169
1170 /**
1171 * @param {*} obj
1172 * @return {boolean}
1173 * @nosideeffects
1174 */
1175 jQuery.isArray = function(obj) {};
1176
1177 /**
1178 * @param {*} obj
1179 * @return {boolean}
1180 * @nosideeffects
1181 */
1182 $.isArray = function(obj) {};
1183
1184 /**
1185 * @param {Object} obj
1186 * @return {boolean}
1187 * @nosideeffects
1188 */
1189 jQuery.isEmptyObject = function(obj) {};
1190
1191 /**
1192 * @param {Object} obj
1193 * @return {boolean}
1194 * @nosideeffects
1195 */
1196 $.isEmptyObject = function(obj) {};
1197
1198 /**
1199 * @param {*} obj
1200 * @return {boolean}
1201 * @nosideeffects
1202 */
1203 jQuery.isFunction = function(obj) {};
1204
1205 /**
1206 * @param {*} obj
1207 * @return {boolean}
1208 * @nosideeffects
1209 */
1210 $.isFunction = function(obj) {};
1211
1212 /**
1213 * @param {*} value
1214 * @return {boolean}
1215 * @nosideeffects
1216 */
1217 jQuery.isNumeric = function(value) {};
1218
1219 /**
1220 * @param {*} value
1221 * @return {boolean}
1222 * @nosideeffects
1223 */
1224 $.isNumeric = function(value) {};
1225
1226 /**
1227 * @param {Object} obj
1228 * @return {boolean}
1229 * @nosideeffects
1230 */
1231 jQuery.isPlainObject = function(obj) {};
1232
1233 /**
1234 * @param {Object} obj
1235 * @return {boolean}
1236 * @nosideeffects
1237 */
1238 $.isPlainObject = function(obj) {};
1239
1240 /**
1241 * @param {*} obj
1242 * @return {boolean}
1243 * @nosideeffects
1244 */
1245 jQuery.isWindow = function(obj) {};
1246
1247 /**
1248 * @param {*} obj
1249 * @return {boolean}
1250 * @nosideeffects
1251 */
1252 $.isWindow = function(obj) {};
1253
1254 /**
1255 * @param {Element} node
1256 * @return {boolean}
1257 * @nosideeffects
1258 */
1259 jQuery.isXMLDoc = function(node) {};
1260
1261 /**
1262 * @param {Element} node
1263 * @return {boolean}
1264 * @nosideeffects
1265 */
1266 $.isXMLDoc = function(node) {};
1267
1268 /** @type {string} */
1269 jQuery.prototype.jquery;
1270
1271 /**
1272 * @constructor
1273 * @extends {XMLHttpRequest}
1274 * @implements {jQuery.Promise}
1275 * @private
1276 * @see http://api.jquery.com/jQuery.ajax/#jqXHR
1277 */
1278 jQuery.jqXHR = function () {};
1279
1280 /**
1281 * @override
1282 * @param {jQueryCallback} alwaysCallbacks
1283 * @param {jQueryCallback=} alwaysCallbacks2
1284 * @return {jQuery.jqXHR}
1285 */
1286 jQuery.jqXHR.prototype.always =
1287 function(alwaysCallbacks, alwaysCallbacks2) {};
1288
1289 /**
1290 * @deprecated
1291 * @param {function()} callback
1292 * @return {jQuery.jqXHR}
1293 */
1294 jQuery.jqXHR.prototype.complete = function (callback) {};
1295
1296 /**
1297 * @override
1298 * @param {jQueryCallback} doneCallbacks
1299 * @return {jQuery.jqXHR}
1300 */
1301 jQuery.jqXHR.prototype.done = function(doneCallbacks) {};
1302
1303 /**
1304 * @deprecated
1305 * @param {function()} callback
1306 * @return {jQuery.jqXHR}
1307 */
1308 jQuery.jqXHR.prototype.error = function (callback) {};
1309
1310 /**
1311 * @override
1312 * @param {jQueryCallback} failCallbacks
1313 * @return {jQuery.jqXHR}
1314 */
1315 jQuery.jqXHR.prototype.fail = function(failCallbacks) {};
1316
1317 /**
1318 * @deprecated
1319 * @override
1320 */
1321 jQuery.jqXHR.prototype.onreadystatechange = function (callback) {};
1322
1323 /**
1324 * @param {function()=} doneFilter
1325 * @param {function()=} failFilter
1326 * @param {function()=} progressFilter
1327 * @return {jQuery.jqXHR}
1328 */
1329 jQuery.jqXHR.prototype.pipe =
1330 function(doneFilter, failFilter, progressFilter) {};
1331
1332 /**
1333 * @deprecated
1334 * @param {function()} callback
1335 * @return {jQuery.jqXHR}
1336 */
1337 jQuery.jqXHR.prototype.success = function (callback) {};
1338
1339 /**
1340 * @override
1341 * @param {jQueryCallback} doneCallbacks
1342 * @param {jQueryCallback=} failCallbacks
1343 * @param {jQueryCallback=} progressCallbacks
1344 * @return {jQuery.jqXHR}
1345 */
1346 jQuery.jqXHR.prototype.then =
1347 function(doneCallbacks, failCallbacks, progressCallbacks) {};
1348
1349 /**
1350 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1351 * @param {function(!jQuery.event=)=} handler
1352 * @return {!jQuery}
1353 */
1354 jQuery.prototype.keydown = function(arg1, handler) {};
1355
1356 /**
1357 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1358 * @param {function(!jQuery.event=)=} handler
1359 * @return {!jQuery}
1360 */
1361 jQuery.prototype.keypress = function(arg1, handler) {};
1362
1363 /**
1364 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1365 * @param {function(!jQuery.event=)=} handler
1366 * @return {!jQuery}
1367 */
1368 jQuery.prototype.keyup = function(arg1, handler) {};
1369
1370 /** @return {!jQuery} */
1371 jQuery.prototype.last = function() {};
1372
1373 /** @type {number} */
1374 jQuery.prototype.length;
1375
1376 /**
1377 * @deprecated
1378 * @param {(string|Object)} arg1
1379 * @param {(function(!jQuery.event=)|Object)=} arg2
1380 * @param {function(!jQuery.event=)=} handler
1381 * @return {!jQuery}
1382 */
1383 jQuery.prototype.live = function(arg1, arg2, handler) {};
1384
1385 /**
1386 * @deprecated
1387 * @param {(function(!jQuery.event=)|Object.<string, *>|string)} arg1
1388 * @param {(function(!jQuery.event=)|Object.<string,*>|string)=} arg2
1389 * @param {function(string,string,XMLHttpRequest)=} complete
1390 * @return {!jQuery}
1391 */
1392 jQuery.prototype.load = function(arg1, arg2, complete) {};
1393
1394 /**
1395 * @param {*} obj
1396 * @return {Array.<*>}
1397 */
1398 jQuery.makeArray = function(obj) {};
1399
1400 /**
1401 * @param {*} obj
1402 * @return {Array.<*>}
1403 */
1404 $.makeArray = function(obj) {};
1405
1406 /**
1407 * @param {(Array.<*>|Object.<string, *>)} arg1
1408 * @param {(function(*,number)|function(*,(string|number)))} callback
1409 * @return {Array.<*>}
1410 */
1411 jQuery.map = function(arg1, callback) {};
1412
1413 /**
1414 * @param {function(number,Element)} callback
1415 * @return {!jQuery}
1416 */
1417 jQuery.prototype.map = function(callback) {};
1418
1419 /**
1420 * @param {(Array.<*>|Object.<string, *>)} arg1
1421 * @param {(function(*,number)|function(*,(string|number)))} callback
1422 * @return {Array.<*>}
1423 */
1424 $.map = function(arg1, callback) {};
1425
1426 /**
1427 * @param {Array.<*>} first
1428 * @param {Array.<*>} second
1429 * @return {Array.<*>}
1430 */
1431 jQuery.merge = function(first, second) {};
1432
1433 /**
1434 * @param {Array.<*>} first
1435 * @param {Array.<*>} second
1436 * @return {Array.<*>}
1437 */
1438 $.merge = function(first, second) {};
1439
1440 /**
1441 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1442 * @param {function(!jQuery.event=)=} handler
1443 * @return {!jQuery}
1444 */
1445 jQuery.prototype.mousedown = function(arg1, handler) {};
1446
1447 /**
1448 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1449 * @param {function(!jQuery.event=)=} handler
1450 * @return {!jQuery}
1451 */
1452 jQuery.prototype.mouseenter = function(arg1, handler) {};
1453
1454 /**
1455 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1456 * @param {function(!jQuery.event=)=} handler
1457 * @return {!jQuery}
1458 */
1459 jQuery.prototype.mouseleave = function(arg1, handler) {};
1460
1461 /**
1462 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1463 * @param {function(!jQuery.event=)=} handler
1464 * @return {!jQuery}
1465 */
1466 jQuery.prototype.mousemove = function(arg1, handler) {};
1467
1468 /**
1469 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1470 * @param {function(!jQuery.event=)=} handler
1471 * @return {!jQuery}
1472 */
1473 jQuery.prototype.mouseout = function(arg1, handler) {};
1474
1475 /**
1476 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1477 * @param {function(!jQuery.event=)=} handler
1478 * @return {!jQuery}
1479 */
1480 jQuery.prototype.mouseover = function(arg1, handler) {};
1481
1482 /**
1483 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1484 * @param {function(!jQuery.event=)=} handler
1485 * @return {!jQuery}
1486 */
1487 jQuery.prototype.mouseup = function(arg1, handler) {};
1488
1489 /**
1490 * @param {jQuerySelector=} selector
1491 * @return {!jQuery}
1492 * @nosideeffects
1493 */
1494 jQuery.prototype.next = function(selector) {};
1495
1496 /**
1497 * @param {string=} selector
1498 * @return {!jQuery}
1499 * @nosideeffects
1500 */
1501 jQuery.prototype.nextAll = function(selector) {};
1502
1503 /**
1504 * @param {(jQuerySelector|Element)=} arg1
1505 * @param {jQuerySelector=} filter
1506 * @return {!jQuery}
1507 * @nosideeffects
1508 */
1509 jQuery.prototype.nextUntil = function(arg1, filter) {};
1510
1511 /**
1512 * @param {boolean=} removeAll
1513 * @return {Object}
1514 */
1515 jQuery.noConflict = function(removeAll) {};
1516
1517 /**
1518 * @param {boolean=} removeAll
1519 * @return {Object}
1520 */
1521 $.noConflict = function(removeAll) {};
1522
1523 /**
1524 * @return {function()}
1525 * @nosideeffects
1526 */
1527 jQuery.noop = function() {};
1528
1529 /**
1530 * @return {function()}
1531 * @nosideeffects
1532 */
1533 $.noop = function() {};
1534
1535 /**
1536 * @param {(jQuerySelector|Array.<Element>|function(number)|jQuery)} arg1
1537 * @return {!jQuery}
1538 */
1539 jQuery.prototype.not = function(arg1) {};
1540
1541 /**
1542 * @return {number}
1543 * @nosideeffects
1544 */
1545 jQuery.now = function() {};
1546
1547 /**
1548 * @return {number}
1549 * @nosideeffects
1550 */
1551 $.now = function() {};
1552
1553 /**
1554 * @param {(string|Object.<string,*>)} arg1
1555 * @param {(string|function(!jQuery.event=))=} selector
1556 * @param {function(!jQuery.event=)=} handler
1557 * @return {!jQuery}
1558 */
1559 jQuery.prototype.off = function(arg1, selector, handler) {};
1560
1561 /**
1562 * @param {({left:number,top:number}|
1563 * function(number,{top:number,left:number}))=} arg1
1564 * @return {({left:number,top:number}|!jQuery)}
1565 */
1566 jQuery.prototype.offset = function(arg1) {};
1567
1568 /**
1569 * @return {!jQuery}
1570 * @nosideeffects
1571 */
1572 jQuery.prototype.offsetParent = function() {};
1573
1574 /**
1575 * @param {(string|Object.<string,*>)} arg1
1576 * @param {*=} selector
1577 * @param {*=} data
1578 * @param {function(!jQuery.event=)=} handler
1579 * @return {!jQuery}
1580 */
1581 jQuery.prototype.on = function(arg1, selector, data, handler) {};
1582
1583 /**
1584 * @param {(string|Object.<string,*>)} arg1
1585 * @param {*=} arg2
1586 * @param {*=} arg3
1587 * @param {function(!jQuery.event=)=} handler
1588 * @return {!jQuery}
1589 */
1590 jQuery.prototype.one = function(arg1, arg2, arg3, handler) {};
1591
1592 /**
1593 * @param {boolean=} includeMargin
1594 * @return {number}
1595 * @nosideeffects
1596 */
1597 jQuery.prototype.outerHeight = function(includeMargin) {};
1598
1599 /**
1600 * @param {boolean=} includeMargin
1601 * @return {number}
1602 * @nosideeffects
1603 */
1604 jQuery.prototype.outerWidth = function(includeMargin) {};
1605
1606 /**
1607 * @param {(Object.<string, *>|Array.<Object.<string, *>>)} obj
1608 * @param {boolean=} traditional
1609 * @return {string}
1610 */
1611 jQuery.param = function(obj, traditional) {};
1612
1613 /**
1614 * @param {(Object.<string, *>|Array.<Object.<string, *>>)} obj
1615 * @param {boolean=} traditional
1616 * @return {string}
1617 */
1618 $.param = function(obj, traditional) {};
1619
1620 /**
1621 * @param {jQuerySelector=} selector
1622 * @return {!jQuery}
1623 * @nosideeffects
1624 */
1625 jQuery.prototype.parent = function(selector) {};
1626
1627 /**
1628 * @param {jQuerySelector=} selector
1629 * @return {!jQuery}
1630 * @nosideeffects
1631 */
1632 jQuery.prototype.parents = function(selector) {};
1633
1634 /**
1635 * @param {(jQuerySelector|Element)=} arg1
1636 * @param {jQuerySelector=} filter
1637 * @return {!jQuery}
1638 * @nosideeffects
1639 */
1640 jQuery.prototype.parentsUntil = function(arg1, filter) {};
1641
1642 /**
1643 * @param {string} json
1644 * @return {Object.<string, *>}
1645 */
1646 jQuery.parseJSON = function(json) {};
1647
1648 /**
1649 * @param {string} json
1650 * @return {Object.<string, *>}
1651 */
1652 $.parseJSON = function(json) {};
1653
1654 /**
1655 * @param {string} data
1656 * @return {Document}
1657 */
1658 jQuery.parseXML = function(data) {};
1659
1660 /**
1661 * @param {string} data
1662 * @return {Document}
1663 */
1664 $.parseXML = function(data) {};
1665
1666 /**
1667 * @return {{left:number,top:number}}
1668 * @nosideeffects
1669 */
1670 jQuery.prototype.position = function() {};
1671
1672 /**
1673 * @param {string} url
1674 * @param {(Object.<string,*>|string|
1675 * function(string,string,jQuery.jqXHR))=} data
1676 * @param {(function(string,string,jQuery.jqXHR)|string)=} success
1677 * @param {string=} dataType
1678 * @return {jQuery.jqXHR}
1679 */
1680 jQuery.post = function(url, data, success, dataType) {};
1681
1682 /**
1683 * @param {string} url
1684 * @param {(Object.<string,*>|string|
1685 * function(string,string,jQuery.jqXHR))=} data
1686 * @param {(function(string,string,jQuery.jqXHR)|string)=} success
1687 * @param {string=} dataType
1688 * @return {jQuery.jqXHR}
1689 */
1690 $.post = function(url, data, success, dataType) {};
1691
1692 /**
1693 * @param {(string|Element|jQuery|function(number,string))} arg1
1694 * @param {(string|Element|jQuery)=} content
1695 * @return {!jQuery}
1696 */
1697 jQuery.prototype.prepend = function(arg1, content) {};
1698
1699 /**
1700 * @param {(jQuerySelector|Element|jQuery)} target
1701 * @return {!jQuery}
1702 */
1703 jQuery.prototype.prependTo = function(target) {};
1704
1705 /**
1706 * @param {jQuerySelector=} selector
1707 * @return {!jQuery}
1708 * @nosideeffects
1709 */
1710 jQuery.prototype.prev = function(selector) {};
1711
1712 /**
1713 * @param {jQuerySelector=} selector
1714 * @return {!jQuery}
1715 * @nosideeffects
1716 */
1717 jQuery.prototype.prevAll = function(selector) {};
1718
1719 /**
1720 * @param {(jQuerySelector|Element)=} arg1
1721 * @param {jQuerySelector=} filter
1722 * @return {!jQuery}
1723 * @nosideeffects
1724 */
1725 jQuery.prototype.prevUntil = function(arg1, filter) {};
1726
1727 /**
1728 * @param {(string|Object)=} type
1729 * @param {Object=} target
1730 * @return {jQuery.Promise}
1731 */
1732 jQuery.prototype.promise = function(type, target) {};
1733
1734 /**
1735 * @interface
1736 * @private
1737 * @see http://api.jquery.com/Types/#Promise
1738 */
1739 jQuery.Promise = function () {};
1740
1741 /**
1742 * @param {jQueryCallback} alwaysCallbacks
1743 * @param {jQueryCallback=} alwaysCallbacks2
1744 * @return {jQuery.Promise}
1745 */
1746 jQuery.Promise.prototype.always =
1747 function(alwaysCallbacks, alwaysCallbacks2) {};
1748
1749 /**
1750 * @param {jQueryCallback} doneCallbacks
1751 * @return {jQuery.Promise}
1752 */
1753 jQuery.Promise.prototype.done = function(doneCallbacks) {};
1754
1755 /**
1756 * @param {jQueryCallback} failCallbacks
1757 * @return {jQuery.Promise}
1758 */
1759 jQuery.Promise.prototype.fail = function(failCallbacks) {};
1760
1761 /**
1762 * @param {function()=} doneFilter
1763 * @param {function()=} failFilter
1764 * @param {function()=} progressFilter
1765 * @return {jQuery.Promise}
1766 */
1767 jQuery.Promise.prototype.pipe =
1768 function(doneFilter, failFilter, progressFilter) {};
1769
1770 /**
1771 * @param {jQueryCallback} doneCallbacks
1772 * @param {jQueryCallback=} failCallbacks
1773 * @param {jQueryCallback=} progressCallbacks
1774 * @return {jQuery.Promise}
1775 */
1776 jQuery.Promise.prototype.then =
1777 function(doneCallbacks, failCallbacks, progressCallbacks) {};
1778
1779 /**
1780 * @param {(string|Object.<string,*>)} arg1
1781 * @param {(string|number|boolean|function(number,String))=} arg2
1782 * @return {(string|!jQuery)}
1783 */
1784 jQuery.prototype.prop = function(arg1, arg2) {};
1785
1786 /**
1787 * @param {...*} var_args
1788 * @return {function()}
1789 */
1790 jQuery.proxy = function(var_args) {};
1791
1792 /**
1793 * @param {...*} var_args
1794 * @return {function()}
1795 */
1796 $.proxy = function(var_args) {};
1797
1798 /**
1799 * @param {Array.<Element>} elements
1800 * @param {string=} name
1801 * @param {Array.<*>=} args
1802 * @return {!jQuery}
1803 */
1804 jQuery.prototype.pushStack = function(elements, name, args) {};
1805
1806 /**
1807 * @param {(string|Array.<function()>|function(function()))=} queueName
1808 * @param {(Array.<function()>|function(function()))=} arg2
1809 * @return {(Array.<Element>|!jQuery)}
1810 */
1811 jQuery.prototype.queue = function(queueName, arg2) {};
1812
1813 /**
1814 * @param {Element} elem
1815 * @param {string=} queueName
1816 * @param {(Array.<function()>|function())=} arg3
1817 * @return {(Array.<Element>|!jQuery)}
1818 */
1819 jQuery.queue = function(elem, queueName, arg3) {};
1820
1821 /**
1822 * @param {Element} elem
1823 * @param {string=} queueName
1824 * @param {(Array.<function()>|function())=} arg3
1825 * @return {(Array.<Element>|!jQuery)}
1826 */
1827 $.queue = function(elem, queueName, arg3) {};
1828
1829 /**
1830 * @param {function()} handler
1831 * @return {!jQuery}
1832 */
1833 jQuery.prototype.ready = function(handler) {};
1834
1835 /**
1836 * @param {string=} selector
1837 * @return {!jQuery}
1838 */
1839 jQuery.prototype.remove = function(selector) {};
1840
1841 /**
1842 * @param {string} attributeName
1843 * @return {!jQuery}
1844 */
1845 jQuery.prototype.removeAttr = function(attributeName) {};
1846
1847 /**
1848 * @param {(string|function(number,string))=} arg1
1849 * @return {!jQuery}
1850 */
1851 jQuery.prototype.removeClass = function(arg1) {};
1852
1853 /**
1854 * @param {(string|Array.<string>)=} arg1
1855 * @return {!jQuery}
1856 */
1857 jQuery.prototype.removeData = function(arg1) {};
1858
1859 /**
1860 * @param {Element} elem
1861 * @param {string=} name
1862 * @return {!jQuery}
1863 */
1864 jQuery.removeData = function(elem, name) {};
1865
1866 /**
1867 * @param {Element} elem
1868 * @param {string=} name
1869 * @return {!jQuery}
1870 */
1871 $.removeData = function(elem, name) {};
1872
1873 /**
1874 * @param {string} propertyName
1875 * @return {!jQuery}
1876 */
1877 jQuery.prototype.removeProp = function(propertyName) {};
1878
1879 /**
1880 * @param {jQuerySelector} target
1881 * @return {!jQuery}
1882 */
1883 jQuery.prototype.replaceAll = function(target) {};
1884
1885 /**
1886 * @param {(string|Element|jQuery|function())} arg1
1887 * @return {!jQuery}
1888 */
1889 jQuery.prototype.replaceWith = function(arg1) {};
1890
1891 /**
1892 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1893 * @param {function(!jQuery.event=)=} handler
1894 * @return {!jQuery}
1895 */
1896 jQuery.prototype.resize = function(arg1, handler) {};
1897
1898 /**
1899 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1900 * @param {function(!jQuery.event=)=} handler
1901 * @return {!jQuery}
1902 */
1903 jQuery.prototype.scroll = function(arg1, handler) {};
1904
1905 /**
1906 * @param {number=} value
1907 * @return {(number|!jQuery)}
1908 */
1909 jQuery.prototype.scrollLeft = function(value) {};
1910
1911 /**
1912 * @param {number=} value
1913 * @return {(number|!jQuery)}
1914 */
1915 jQuery.prototype.scrollTop = function(value) {};
1916
1917 /**
1918 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
1919 * @param {function(!jQuery.event=)=} handler
1920 * @return {!jQuery}
1921 */
1922 jQuery.prototype.select = function(arg1, handler) {};
1923
1924 /**
1925 * @return {string}
1926 * @nosideeffects
1927 */
1928 jQuery.prototype.serialize = function() {};
1929
1930 /**
1931 * @return {Array.<Object.<string, *>>}
1932 * @nosideeffects
1933 */
1934 jQuery.prototype.serializeArray = function() {};
1935
1936 /**
1937 * @param {(string|number|function())=} duration
1938 * @param {(function()|string)=} arg2
1939 * @param {function()=} callback
1940 * @return {!jQuery}
1941 */
1942 jQuery.prototype.show = function(duration, arg2, callback) {};
1943
1944 /**
1945 * @param {jQuerySelector=} selector
1946 * @return {!jQuery}
1947 * @nosideeffects
1948 */
1949 jQuery.prototype.siblings = function(selector) {};
1950
1951 /**
1952 * @deprecated
1953 * @return {number}
1954 * @nosideeffects
1955 */
1956 jQuery.prototype.size = function() {};
1957
1958 /**
1959 * @param {number} start
1960 * @param {number=} end
1961 * @return {!jQuery}
1962 */
1963 jQuery.prototype.slice = function(start, end) {};
1964
1965 /**
1966 * @param {(string|number|function())=} duration
1967 * @param {(function()|string)=} arg2
1968 * @param {function()=} callback
1969 * @return {!jQuery}
1970 */
1971 jQuery.prototype.slideDown = function(duration, arg2, callback) {};
1972
1973 /**
1974 * @param {(string|number|function())=} duration
1975 * @param {(function()|string)=} arg2
1976 * @param {function()=} callback
1977 * @return {!jQuery}
1978 */
1979 jQuery.prototype.slideToggle = function(duration, arg2, callback) {};
1980
1981 /**
1982 * @param {(string|number|function())=} duration
1983 * @param {(function()|string)=} arg2
1984 * @param {function()=} callback
1985 * @return {!jQuery}
1986 */
1987 jQuery.prototype.slideUp = function(duration, arg2, callback) {};
1988
1989 /**
1990 * @param {(boolean|string)=} arg1
1991 * @param {boolean=} arg2
1992 * @param {boolean=} jumpToEnd
1993 * @return {!jQuery}
1994 */
1995 jQuery.prototype.stop = function(arg1, arg2, jumpToEnd) {};
1996
1997 /**
1998 * @deprecated
1999 * @return {!jQuery}
2000 * @nosideeffects
2001 */
2002 jQuery.sub = function() {};
2003
2004 /**
2005 * @deprecated
2006 * @return {!jQuery}
2007 * @nosideeffects
2008 */
2009 $.sub = function() {};
2010
2011 /**
2012 * @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1
2013 * @param {function(!jQuery.event=)=} handler
2014 * @return {!jQuery}
2015 */
2016 jQuery.prototype.submit = function(arg1, handler) {};
2017
2018 /** @type {Object.<string, *>} */
2019 jQuery.support;
2020
2021 /** @type {Object.<string, *>} */
2022 $.support;
2023
2024 /** @type {boolean} */
2025 jQuery.support.boxModel;
2026
2027 /** @type {boolean} */
2028 $.support.boxModel;
2029
2030 /** @type {boolean} */
2031 jQuery.support.changeBubbles;
2032
2033 /** @type {boolean} */
2034 $.support.changeBubbles;
2035
2036 /** @type {boolean} */
2037 jQuery.support.cssFloat;
2038
2039 /** @type {boolean} */
2040 $.support.cssFloat;
2041
2042 /** @type {boolean} */
2043 jQuery.support.fixedPosition;
2044
2045 /** @type {boolean} */
2046 $.support.fixedPosition;
2047
2048 /** @type {boolean} */
2049 jQuery.support.hrefNormalized;
2050
2051 /** @type {boolean} */
2052 $.support.hrefNormalized;
2053
2054 /** @type {boolean} */
2055 jQuery.support.htmlSerialize;
2056
2057 /** @type {boolean} */
2058 $.support.htmlSerialize;
2059
2060 /** @type {boolean} */
2061 jQuery.support.leadingWhitespace;
2062
2063 /** @type {boolean} */
2064 $.support.leadingWhitespace;
2065
2066 /** @type {boolean} */
2067 jQuery.support.noCloneEvent;
2068
2069 /** @type {boolean} */
2070 $.support.noCloneEvent;
2071
2072 /** @type {boolean} */
2073 jQuery.support.opacity;
2074
2075 /** @type {boolean} */
2076 $.support.opacity;
2077
2078 /** @type {boolean} */
2079 jQuery.support.scriptEval;
2080
2081 /** @type {boolean} */
2082 $.support.scriptEval;
2083
2084 /** @type {boolean} */
2085 jQuery.support.style;
2086
2087 /** @type {boolean} */
2088 $.support.style;
2089
2090 /** @type {boolean} */
2091 jQuery.support.submitBubbles;
2092
2093 /** @type {boolean} */
2094 $.support.submitBubbles;
2095
2096 /** @type {boolean} */
2097 jQuery.support.tbody;
2098
2099 /** @type {boolean} */
2100 $.support.tbody;
2101
2102 /**
2103 * @param {(string|function(number,string))=} arg1
2104 * @return {(string|!jQuery)}
2105 */
2106 jQuery.prototype.text = function(arg1) {};
2107
2108 /**
2109 * @return {Array.<Element>}
2110 * @nosideeffects
2111 */
2112 jQuery.prototype.toArray = function() {};
2113
2114 /**
2115 * @deprecated
2116 * @param {(function(!jQuery.event=)|string|number|function()|boolean)=} arg1
2117 * @param {(function(!jQuery.event=)|function()|string)=} arg2
2118 * @param {(function(!jQuery.event=)|function())=} arg3
2119 * @return {!jQuery}
2120 */
2121 jQuery.prototype.toggle = function(arg1, arg2, arg3) {};
2122
2123 /**
2124 * @param {(string|boolean|function(number,string,boolean))=} arg1
2125 * @param {boolean=} flag
2126 * @return {!jQuery}
2127 */
2128 jQuery.prototype.toggleClass = function(arg1, flag) {};
2129
2130 /**
2131 * @param {(string|jQuery.event)} arg1
2132 * @param {...*} var_args
2133 * @return {!jQuery}
2134 */
2135 jQuery.prototype.trigger = function(arg1, var_args) {};
2136
2137 /**
2138 * @param {string} eventType
2139 * @param {Array.<*>=} extraParameters
2140 * @return {*}
2141 */
2142 jQuery.prototype.triggerHandler = function(eventType, extraParameters) {};
2143
2144 /**
2145 * @param {string} str
2146 * @return {string}
2147 * @nosideeffects
2148 */
2149 jQuery.trim = function(str) {};
2150
2151 /**
2152 * @param {string} str
2153 * @return {string}
2154 * @nosideeffects
2155 */
2156 $.trim = function(str) {};
2157
2158 /**
2159 * @param {*} obj
2160 * @return {string}
2161 * @nosideeffects
2162 */
2163 jQuery.type = function(obj) {};
2164
2165 /**
2166 * @param {*} obj
2167 * @return {string}
2168 * @nosideeffects
2169 */
2170 $.type = function(obj) {};
2171
2172 /**
2173 * @param {(string|function(!jQuery.event=)|jQuery.event)=} arg1
2174 * @param {(function(!jQuery.event=)|boolean)=} arg2
2175 * @return {!jQuery}
2176 */
2177 jQuery.prototype.unbind = function(arg1, arg2) {};
2178
2179 /**
2180 * @param {string=} arg1
2181 * @param {(string|Object.<string,*>)=} arg2
2182 * @param {function(!jQuery.event=)=} handler
2183 * @return {!jQuery}
2184 */
2185 jQuery.prototype.undelegate = function(arg1, arg2, handler) {};
2186
2187 /**
2188 * @param {Array.<Element>} arr
2189 * @return {Array.<Element>}
2190 */
2191 jQuery.unique = function(arr) {};
2192
2193 /**
2194 * @param {Array.<Element>} arr
2195 * @return {Array.<Element>}
2196 */
2197 $.unique = function(arr) {};
2198
2199 /**
2200 * @deprecated
2201 * @param {(function(!jQuery.event=)|Object.<string, *>)} arg1
2202 * @param {function(!jQuery.event=)=} handler
2203 * @return {!jQuery}
2204 */
2205 jQuery.prototype.unload = function(arg1, handler) {};
2206
2207 /** @return {!jQuery} */
2208 jQuery.prototype.unwrap = function() {};
2209
2210 /**
2211 * @param {(string|Array.<string>|function(number,*))=} arg1
2212 * @return {(string|number|Array.<string>|!jQuery)}
2213 */
2214 jQuery.prototype.val = function(arg1) {};
2215
2216 /**
2217 * @param {jQuery.deferred} deferred
2218 * @param {...jQuery.deferred} deferreds
2219 * @return {jQuery.Promise}
2220 */
2221 jQuery.when = function(deferred, deferreds) {};
2222
2223 /**
2224 * @param {jQuery.deferred} deferred
2225 * @param {...jQuery.deferred} deferreds
2226 * @return {jQuery.Promise}
2227 */
2228 $.when = function(deferred, deferreds) {};
2229
2230 /**
2231 * @param {(string|number|function(number,number))=} arg1
2232 * @return {(number|!jQuery)}
2233 */
2234 jQuery.prototype.width = function(arg1) {};
2235
2236 /**
2237 * @param {(string|jQuerySelector|Element|jQuery|function(number))} arg1
2238 * @return {!jQuery}
2239 */
2240 jQuery.prototype.wrap = function(arg1) {};
2241
2242 /**
2243 * @param {(string|jQuerySelector|Element|jQuery)} wrappingElement
2244 * @return {!jQuery}
2245 */
2246 jQuery.prototype.wrapAll = function(wrappingElement) {};
2247
2248 /**
2249 * @param {(string|function(number))} arg1
2250 * @return {!jQuery}
2251 */
2252 jQuery.prototype.wrapInner = function(arg1) {};