closure 1.3.1 → 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. data/README.md +142 -9
  2. data/bin/closure-script +19 -0
  3. data/closure-compiler/README +18 -4
  4. data/closure-compiler/compiler.jar +0 -0
  5. data/closure-templates/SoyToJsSrcCompiler.jar +0 -0
  6. data/closure-templates/soydata.js +163 -0
  7. data/closure-templates/soyutils.js +1191 -159
  8. data/closure-templates/soyutils_usegoog.js +1107 -60
  9. data/docs/closure/Closure.html +58 -52
  10. data/docs/closure/Closure/BeanShell.html +6 -3
  11. data/docs/closure/Closure/Compiler.html +18 -15
  12. data/docs/closure/Closure/Compiler/Compilation.html +9 -3
  13. data/docs/closure/Closure/Compiler/Error.html +3 -3
  14. data/docs/closure/Closure/FileResponse.html +13 -7
  15. data/docs/closure/Closure/Goog.html +49 -85
  16. data/docs/closure/Closure/Middleware.html +5 -3
  17. data/docs/closure/Closure/Script.html +14 -5
  18. data/docs/closure/Closure/Script/NotFound.html +3 -3
  19. data/docs/closure/Closure/Script/RenderStackOverflow.html +3 -3
  20. data/docs/closure/Closure/Server.html +6 -3
  21. data/docs/closure/Closure/ShowExceptions.html +5 -3
  22. data/docs/closure/Closure/Sources.html +145 -37
  23. data/docs/closure/Closure/Templates.html +11 -10
  24. data/docs/closure/Closure/Templates/Error.html +3 -3
  25. data/docs/closure/_index.html +4 -4
  26. data/docs/closure/css/full_list.css +2 -0
  27. data/docs/closure/css/style.css +2 -0
  28. data/docs/closure/file.LICENSE.html +3 -3
  29. data/docs/closure/file.README.html +151 -10
  30. data/docs/closure/frames.html +1 -1
  31. data/docs/closure/index.html +151 -10
  32. data/docs/closure/js/full_list.js +23 -6
  33. data/docs/closure/method_list.html +91 -83
  34. data/docs/closure/top-level-namespace.html +3 -3
  35. data/lib/closure.rb +3 -16
  36. data/lib/closure/compiler.rb +135 -53
  37. data/lib/closure/goog.rb +5 -29
  38. data/lib/closure/sources.rb +22 -9
  39. data/lib/closure/version.rb +1 -1
  40. data/scripts/config.ru +0 -1
  41. data/scripts/hello/compiler_build.js +5 -5
  42. data/scripts/hello/compiler_build.map +518 -522
  43. data/scripts/hello/compiler_debug.js +7 -13
  44. data/scripts/hello/legume.js +2 -2
  45. data/scripts/index.erb +0 -3
  46. data/scripts/modules/compiler_build.js +3 -3
  47. data/scripts/modules/compiler_build.map +11569 -11476
  48. data/scripts/modules/compiler_build_api.js +1 -1
  49. data/scripts/modules/compiler_build_app.js +71 -70
  50. data/scripts/modules/compiler_build_settings.js +2 -2
  51. data/scripts/modules/compiler_debug.js +3 -3
  52. data/scripts/modules/compiler_debug_api.js +2 -2
  53. data/scripts/modules/compiler_debug_app.js +926 -1382
  54. data/scripts/modules/compiler_debug_settings.js +21 -24
  55. metadata +8 -18
  56. data/externs/chrome_extensions.externs +0 -968
  57. data/externs/jquery-1.3.2.externs +0 -718
  58. data/externs/jquery-1.4.3.externs +0 -1289
  59. data/externs/jquery-1.4.4.externs +0 -1302
  60. data/externs/jquery-1.5.externs +0 -1697
  61. data/externs/jquery-ui.externs +0 -10
  62. data/externs/jquery.externs +0 -4
  63. data/scripts/jquery/compiler.js.erb +0 -7
  64. data/scripts/jquery/compiler_out.js +0 -1
  65. data/scripts/jquery/index.erb +0 -25
  66. data/scripts/jquery/jquery_1.4.4.js +0 -167
  67. data/scripts/jquery/jquery_test.js +0 -8
@@ -1,1289 +0,0 @@
1
- /*
2
- * Copyright 2010 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
- goog.provide('externs.jQuery.v1_4_3')
19
- */
20
-
21
- /**
22
- * @fileoverview Externs for jQuery 1.4.3.
23
- * Note that some functions use different return types depending on the number
24
- * of parameters passed in. In these cases, you may need to annotate the type
25
- * of the result in your code, so the JSCompiler understands which type you're
26
- * expecting. For example:
27
- * <code>var elt = /** @type {Element} * / (foo.get(0));</code>
28
- * @see http://api.jquery.com/
29
- * @externs
30
- */
31
-
32
- /**
33
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject|Array|Object|function())=} arg1
34
- * @param {(Element|jQueryObject|Document|Object)=} arg2
35
- * @return {jQueryObject}
36
- */
37
- function $(arg1, arg2) {};
38
-
39
- /**
40
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject|Array|Object|function())=} arg1
41
- * @param {(Element|jQueryObject|Document|Object)=} arg2
42
- * @return {jQueryObject}
43
- */
44
- function jQuery(arg1, arg2) {};
45
-
46
- /**
47
- * @param {Object.<string,*>} settings
48
- * @return {XMLHttpRequest}
49
- */
50
- jQuery.ajax = function(settings) {};
51
-
52
- /** @param {Object.<string,*>} options */
53
- jQuery.ajaxSetup = function(options) {};
54
-
55
- /** @type {boolean} */
56
- jQuery.boxModel;
57
-
58
- /** @type {Object.<string,*>} */
59
- jQuery.browser;
60
-
61
- /** @type {string} */
62
- jQuery.browser.version;
63
-
64
- /**
65
- * @param {Element} container
66
- * @param {Element} contained
67
- * @return {boolean}
68
- */
69
- jQuery.contains = function(container, contained) {};
70
-
71
- /** @type {Object.<string, *>} */
72
- jQuery.cssHooks;
73
-
74
- /**
75
- * @param {Element} elem
76
- * @param {string=} key
77
- * @param {Object=} value
78
- * @return {(jQueryObject|Object)}
79
- */
80
- jQuery.data = function(elem, key, value) {};
81
-
82
- /**
83
- * @param {Element} elem
84
- * @param {string=} queueName
85
- * @return {jQueryObject}
86
- */
87
- jQuery.dequeue = function(elem, queueName) {};
88
-
89
- /**
90
- * @param {Object} collection
91
- * @param {function(number,*)} callback
92
- * @return {Object}
93
- */
94
- jQuery.each = function(collection, callback) {};
95
-
96
- /** @param {string} message */
97
- jQuery.error = function(message) {};
98
-
99
- /**
100
- * @constructor
101
- * @param {string} eventType
102
- */
103
- jQuery.event = function(eventType) {};
104
-
105
- /** @type {Element} */
106
- jQuery.event.prototype.currentTarget;
107
-
108
- /** @type {*} */
109
- jQuery.event.prototype.data;
110
-
111
- /**
112
- * @return {boolean}
113
- * @nosideeffects
114
- */
115
- jQuery.event.prototype.isDefaultPrevented = function() {};
116
-
117
- /**
118
- * @return {boolean}
119
- * @nosideeffects
120
- */
121
- jQuery.event.prototype.isImmediatePropagationStopped = function() {};
122
-
123
- /**
124
- * @return {boolean}
125
- * @nosideeffects
126
- */
127
- jQuery.event.prototype.isPropagationStopped = function() {};
128
-
129
- /** @type {string} */
130
- jQuery.event.prototype.namespace;
131
-
132
- /** @type {number} */
133
- jQuery.event.prototype.pageX;
134
-
135
- /** @type {number} */
136
- jQuery.event.prototype.pageY;
137
-
138
- /** @return {undefined} */
139
- jQuery.event.prototype.preventDefault = function() {};
140
-
141
- /** @type {Element} */
142
- jQuery.event.prototype.relatedTarget;
143
-
144
- /** @type {Object} */
145
- jQuery.event.prototype.result;
146
-
147
- /** @return {undefined} */
148
- jQuery.event.prototype.stopImmediatePropagation = function() {};
149
-
150
- /** @return {undefined} */
151
- jQuery.event.prototype.stopPropagation = function() {};
152
-
153
- /** @type {Element} */
154
- jQuery.event.prototype.target;
155
-
156
- /** @type {number} */
157
- jQuery.event.prototype.timeStamp;
158
-
159
- /** @type {string} */
160
- jQuery.event.prototype.type;
161
-
162
- /** @type {string} */
163
- jQuery.event.prototype.which;
164
-
165
- /**
166
- * @param {(Object|boolean)=} arg1
167
- * @param {Object=} arg2
168
- * @param {Object=} arg3
169
- * @param {Object=} objectN
170
- * @return {Object}
171
- */
172
- jQuery.extend = function(arg1, arg2, arg3, objectN) {};
173
-
174
- jQuery.fx = {};
175
-
176
- /** @type {number} */
177
- jQuery.fx.interval;
178
-
179
- /** @type {boolean} */
180
- jQuery.fx.off;
181
-
182
- /**
183
- * @param {string} url
184
- * @param {(Object.<string,*>|string)=} data
185
- * @param {function(string,string,XMLHttpRequest)=} callback
186
- * @param {string=} dataType
187
- * @return {XMLHttpRequest}
188
- */
189
- jQuery.get = function(url, data, callback, dataType) {};
190
-
191
- /**
192
- * @param {string} url
193
- * @param {Object.<string,*>=} data
194
- * @param {function(string,string)=} callback
195
- * @return {XMLHttpRequest}
196
- */
197
- jQuery.getJSON = function(url, data, callback) {};
198
-
199
- /**
200
- * @param {string} url
201
- * @param {function(string,string)=} success
202
- * @return {XMLHttpRequest}
203
- */
204
- jQuery.getScript = function(url, success) {};
205
-
206
- /** @param {string} code */
207
- jQuery.globalEval = function(code) {};
208
-
209
- /**
210
- * @param {Array} arr
211
- * @param {function(*,number)} fnc
212
- * @param {boolean=} invert
213
- * @return {Array}
214
- */
215
- jQuery.grep = function(arr, fnc, invert) {};
216
-
217
- /**
218
- * @param {*} value
219
- * @param {Array} arr
220
- * @return {number}
221
- * @nosideeffects
222
- */
223
- jQuery.inArray = function(value, arr) {};
224
-
225
- /**
226
- * @param {Object} obj
227
- * @return {boolean}
228
- * @nosideeffects
229
- */
230
- jQuery.isArray = function(obj) {};
231
-
232
- /**
233
- * @param {Object} obj
234
- * @return {boolean}
235
- * @nosideeffects
236
- */
237
- jQuery.isEmptyObject = function(obj) {};
238
-
239
- /**
240
- * @param {Object} obj
241
- * @return {boolean}
242
- * @nosideeffects
243
- */
244
- jQuery.isFunction = function(obj) {};
245
-
246
- /**
247
- * @param {Object} obj
248
- * @return {boolean}
249
- * @nosideeffects
250
- */
251
- jQuery.isPlainObject = function(obj) {};
252
-
253
- /**
254
- * @param {Object} obj
255
- * @return {boolean}
256
- * @nosideeffects
257
- */
258
- jQuery.isWindow = function(obj) {};
259
-
260
- /**
261
- * @param {Element} node
262
- * @return {boolean}
263
- * @nosideeffects
264
- */
265
- jQuery.isXMLDoc = function(node) {};
266
-
267
- /**
268
- * @param {Object} obj
269
- * @return {Array}
270
- */
271
- jQuery.makeArray = function(obj) {};
272
-
273
- /**
274
- * @param {Array} arr
275
- * @param {function(*,number)} callback
276
- * @return {Array}
277
- */
278
- jQuery.map = function(arr, callback) {};
279
-
280
- /**
281
- * @param {Array} first
282
- * @param {Array} second
283
- * @return {Array}
284
- */
285
- jQuery.merge = function(first, second) {};
286
-
287
- /**
288
- * @param {boolean=} removeAll
289
- * @return {Object}
290
- */
291
- jQuery.noConflict = function(removeAll) {};
292
-
293
- /**
294
- * @return {function()}
295
- * @nosideeffects
296
- */
297
- jQuery.noop = function() {};
298
-
299
- /**
300
- * @param {(Array|Object)} obj
301
- * @param {boolean=} traditional
302
- * @return {string}
303
- */
304
- jQuery.param = function(obj, traditional) {};
305
-
306
- /**
307
- * @param {string} json
308
- * @return {Object}
309
- */
310
- jQuery.parseJSON = function(json) {};
311
-
312
- /**
313
- * @param {string} url
314
- * @param {(Object.<string,*>|string)=} data
315
- * @param {function(string,string,XMLHttpRequest)=} success
316
- * @param {string=} dataType
317
- * @return {XMLHttpRequest}
318
- */
319
- jQuery.post = function(url, data, success, dataType) {};
320
-
321
- /**
322
- * @param {(function()|Object)} arg1
323
- * @param {(Object|string)} arg2
324
- * @return {function()}
325
- */
326
- jQuery.proxy = function(arg1, arg2) {};
327
-
328
- /**
329
- * @param {Element} elem
330
- * @param {string=} queueName
331
- * @param {(Array|function())=} arg3
332
- * @return {(Array|jQueryObject)}
333
- */
334
- jQuery.queue = function(elem, queueName, arg3) {};
335
-
336
- /**
337
- * @param {Element} elem
338
- * @param {string=} name
339
- * @return {jQueryObject}
340
- */
341
- jQuery.removeData = function(elem, name) {};
342
-
343
- /** @const */
344
- jQuery.support;
345
-
346
- /** @type {boolean} */
347
- jQuery.support.boxModel;
348
-
349
- /** @type {boolean} */
350
- jQuery.support.changeBubbles;
351
-
352
- /** @type {boolean} */
353
- jQuery.support.cssFloat;
354
-
355
- /** @type {boolean} */
356
- jQuery.support.hrefNormalized;
357
-
358
- /** @type {boolean} */
359
- jQuery.support.htmlSerialize;
360
-
361
- /** @type {boolean} */
362
- jQuery.support.leadingWhitespace;
363
-
364
- /** @type {boolean} */
365
- jQuery.support.noCloneEvent;
366
-
367
- /** @type {boolean} */
368
- jQuery.support.opacity;
369
-
370
- /** @type {boolean} */
371
- jQuery.support.scriptEval;
372
-
373
- /** @type {boolean} */
374
- jQuery.support.style;
375
-
376
- /** @type {boolean} */
377
- jQuery.support.submitBubbles;
378
-
379
- /** @type {boolean} */
380
- jQuery.support.tbody;
381
-
382
- /**
383
- * @param {string} str
384
- * @return {string}
385
- * @nosideeffects
386
- */
387
- jQuery.trim = function(str) {};
388
-
389
- /**
390
- * @param {Object} obj
391
- * @return {string}
392
- * @nosideeffects
393
- */
394
- jQuery.type = function(obj) {};
395
-
396
- /**
397
- * @param {Array} arr
398
- * @return {Array}
399
- */
400
- jQuery.unique = function(arr) {};
401
-
402
- /**
403
- * @constructor
404
- * @private
405
- */
406
- function jQueryObject() { };
407
-
408
- /**
409
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject)} arg1
410
- * @param {Element=} context
411
- * @return {jQueryObject}
412
- * @nosideeffects
413
- */
414
- jQueryObject.prototype.add = function(arg1, context) {};
415
-
416
- /**
417
- * @param {(string|function(number,string))} arg1
418
- * @return {jQueryObject}
419
- */
420
- jQueryObject.prototype.addClass = function(arg1) {};
421
-
422
- /**
423
- * @param {(string|Element|jQueryObject|function(number))} arg1
424
- * @return {jQueryObject}
425
- */
426
- jQueryObject.prototype.after = function(arg1) {};
427
-
428
- /**
429
- * @param {function(jQuery.event,XMLHttpRequest,Object.<string, *>)} handler
430
- * @return {jQueryObject}
431
- */
432
- jQueryObject.prototype.ajaxComplete = function(handler) {};
433
-
434
- /**
435
- * @param {function(jQuery.event,XMLHttpRequest,Object.<string, *>,*)} handler
436
- * @return {jQueryObject}
437
- */
438
- jQueryObject.prototype.ajaxError = function(handler) {};
439
-
440
- /**
441
- * @param {function(jQuery.event,XMLHttpRequest,Object.<string, *>)} handler
442
- * @return {jQueryObject}
443
- */
444
- jQueryObject.prototype.ajaxSend = function(handler) {};
445
-
446
- /**
447
- * @param {function()} handler
448
- * @return {jQueryObject}
449
- */
450
- jQueryObject.prototype.ajaxStart = function(handler) {};
451
-
452
- /**
453
- * @param {function()} handler
454
- * @return {jQueryObject}
455
- */
456
- jQueryObject.prototype.ajaxStop = function(handler) {};
457
-
458
- /**
459
- * @param {function(jQuery.event,XMLHttpRequest,Object.<string, *>)} handler
460
- * @return {jQueryObject}
461
- */
462
- jQueryObject.prototype.ajaxSuccess = function(handler) {};
463
-
464
- /**
465
- * @return {jQueryObject}
466
- * @nosideeffects
467
- */
468
- jQueryObject.prototype.andSelf = function() {};
469
-
470
- /**
471
- * @param {Object.<string,*>} properties
472
- * @param {(string|number|Object.<string,*>)=} arg2
473
- * @param {string=} easing
474
- * @param {function()=} callback
475
- * @return {jQueryObject}
476
- */
477
- jQueryObject.prototype.animate = function(properties, arg2, easing, callback) {};
478
-
479
- /**
480
- * @param {(string|Element|jQueryObject|function(number,string))} arg1
481
- * @return {jQueryObject}
482
- */
483
- jQueryObject.prototype.append = function(arg1) {};
484
-
485
- /**
486
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject)} target
487
- * @return {jQueryObject}
488
- */
489
- jQueryObject.prototype.appendTo = function(target) {};
490
-
491
- /**
492
- * @param {(string|Object.<string,*>)} arg1
493
- * @param {(Object|function(number,string))=} arg2
494
- * @return {(string|jQueryObject)}
495
- */
496
- jQueryObject.prototype.attr = function(arg1, arg2) {};
497
-
498
- /**
499
- * @param {(string|Element|jQueryObject|function())} arg1
500
- * @return {jQueryObject}
501
- */
502
- jQueryObject.prototype.before = function(arg1) {};
503
-
504
- /**
505
- * @param {(string|Object)} arg1
506
- * @param {Object=} eventData
507
- * @param {(function(jQuery.event)|boolean)=} arg3
508
- * @return {jQueryObject}
509
- */
510
- jQueryObject.prototype.bind = function(arg1, eventData, arg3) {};
511
-
512
- /**
513
- * @param {(function(jQuery.event)|Object)=} arg1
514
- * @param {function(jQuery.event)=} handler
515
- * @return {jQueryObject}
516
- */
517
- jQueryObject.prototype.blur = function(arg1, handler) {};
518
-
519
- /**
520
- * @param {(function(jQuery.event)|Object)=} arg1
521
- * @param {function(jQuery.event)=} handler
522
- * @return {jQueryObject}
523
- */
524
- jQueryObject.prototype.change = function(arg1, handler) {};
525
-
526
- /**
527
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject)=} selector
528
- * @return {jQueryObject}
529
- * @nosideeffects
530
- */
531
- jQueryObject.prototype.children = function(selector) {};
532
-
533
- /**
534
- * @param {string=} queueName
535
- * @return {jQueryObject}
536
- */
537
- jQueryObject.prototype.clearQueue = function(queueName) {};
538
-
539
- /**
540
- * @param {(function(jQuery.event)|Object)=} arg1
541
- * @param {function(jQuery.event)=} handler
542
- * @return {jQueryObject}
543
- */
544
- jQueryObject.prototype.click = function(arg1, handler) {};
545
-
546
- /**
547
- * @param {boolean=} withDataAndEvents
548
- * @return {jQueryObject}
549
- */
550
- jQueryObject.prototype.clone = function(withDataAndEvents) {};
551
-
552
- /**
553
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject|Array)} arg1
554
- * @param {Element=} context
555
- * @return {(jQueryObject|Array)}
556
- * @nosideeffects
557
- */
558
- jQueryObject.prototype.closest = function(arg1, context) {};
559
-
560
- /**
561
- * @return {jQueryObject}
562
- * @nosideeffects
563
- */
564
- jQueryObject.prototype.contents = function() {};
565
-
566
- /** @type {Element} */
567
- jQueryObject.prototype.context;
568
-
569
- /**
570
- * @param {(string|Object.<string,*>)} arg1
571
- * @param {(string|number|function(number,*))=} arg2
572
- * @return {(string|jQueryObject)}
573
- */
574
- jQueryObject.prototype.css = function(arg1, arg2) {};
575
-
576
- /**
577
- * @param {(string|Object)=} arg1
578
- * @param {Object=} value
579
- * @return {(jQueryObject|Object)}
580
- */
581
- jQueryObject.prototype.data = function(arg1, value) {};
582
-
583
- /**
584
- * @param {(function(jQuery.event)|Object)=} arg1
585
- * @param {function(jQuery.event)=} handler
586
- * @return {jQueryObject}
587
- */
588
- jQueryObject.prototype.dblclick = function(arg1, handler) {};
589
-
590
- /**
591
- * @param {number} duration
592
- * @param {string=} queueName
593
- * @return {jQueryObject}
594
- */
595
- jQueryObject.prototype.delay = function(duration, queueName) {};
596
-
597
- /**
598
- * @param {string} selector
599
- * @param {string} eventType
600
- * @param {(function()|Object)} arg3
601
- * @param {function()=} handler
602
- * @return {jQueryObject}
603
- */
604
- jQueryObject.prototype.delegate = function(selector, eventType, arg3, handler) {};
605
-
606
- /**
607
- * @param {string=} queueName
608
- * @return {jQueryObject}
609
- */
610
- jQueryObject.prototype.dequeue = function(queueName) {};
611
-
612
- /**
613
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject)=} selector
614
- * @return {jQueryObject}
615
- */
616
- jQueryObject.prototype.detach = function(selector) {};
617
-
618
- /**
619
- * @param {string=} eventType
620
- * @param {string=} handler
621
- * @return {jQueryObject}
622
- */
623
- jQueryObject.prototype.die = function(eventType, handler) {};
624
-
625
- /**
626
- * @param {function(number,Element)} fnc
627
- * @return {jQueryObject}
628
- */
629
- jQueryObject.prototype.each = function(fnc) {};
630
-
631
- /** @return {jQueryObject} */
632
- jQueryObject.prototype.empty = function() {};
633
-
634
- /**
635
- * @return {jQueryObject}
636
- * @nosideeffects
637
- */
638
- jQueryObject.prototype.end = function() {};
639
-
640
- /**
641
- * @param {number} arg1
642
- * @return {jQueryObject}
643
- * @nosideeffects
644
- */
645
- jQueryObject.prototype.eq = function(arg1) {};
646
-
647
- /**
648
- * @param {(function(jQuery.event)|Object)=} arg1
649
- * @param {function(jQuery.event)=} handler
650
- * @return {jQueryObject}
651
- */
652
- jQueryObject.prototype.error = function(arg1, handler) {};
653
-
654
- /**
655
- * @param {(string|number)=} duration
656
- * @param {(function()|string)=} arg2
657
- * @param {function()=} callback
658
- * @return {jQueryObject}
659
- */
660
- jQueryObject.prototype.fadeIn = function(duration, arg2, callback) {};
661
-
662
- /**
663
- * @param {(string|number)=} duration
664
- * @param {(function()|string)=} arg2
665
- * @param {function()=} callback
666
- * @return {jQueryObject}
667
- */
668
- jQueryObject.prototype.fadeOut = function(duration, arg2, callback) {};
669
-
670
- /**
671
- * @param {(string|number)=} duration
672
- * @param {number=} opacity
673
- * @param {(function()|string)=} arg3
674
- * @param {function()=} callback
675
- * @return {jQueryObject}
676
- */
677
- jQueryObject.prototype.fadeTo = function(duration, opacity, arg3, callback) {};
678
-
679
- /**
680
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject|function(number)|Object)} arg1
681
- * @return {jQueryObject}
682
- */
683
- jQueryObject.prototype.filter = function(arg1) {};
684
-
685
- /**
686
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject)} selector
687
- * @return {jQueryObject}
688
- * @nosideeffects
689
- */
690
- jQueryObject.prototype.find = function(selector) {};
691
-
692
- /**
693
- * @return {jQueryObject}
694
- * @nosideeffects
695
- */
696
- jQueryObject.prototype.first = function() {};
697
-
698
- /**
699
- * @param {(function(jQuery.event)|Object)=} arg1
700
- * @param {function(jQuery.event)=} handler
701
- * @return {jQueryObject}
702
- */
703
- jQueryObject.prototype.focus = function(arg1, handler) {};
704
-
705
- /**
706
- * @param {(function(jQuery.event)|Object)=} arg1
707
- * @param {function(jQuery.event)=} handler
708
- * @return {jQueryObject}
709
- */
710
- jQueryObject.prototype.focusin = function(arg1, handler) {};
711
-
712
- /**
713
- * @param {(function(jQuery.event)|Object)=} arg1
714
- * @param {function(jQuery.event)=} handler
715
- * @return {jQueryObject}
716
- */
717
- jQueryObject.prototype.focusout = function(arg1, handler) {};
718
-
719
- /**
720
- * @param {number=} index
721
- * @return {(Element|Array)}
722
- * @nosideeffects
723
- */
724
- jQueryObject.prototype.get = function(index) {};
725
-
726
- /**
727
- * @param {(string|Element)} arg1
728
- * @return {jQueryObject}
729
- * @nosideeffects
730
- */
731
- jQueryObject.prototype.has = function(arg1) {};
732
-
733
- /**
734
- * @param {string} className
735
- * @return {boolean}
736
- * @nosideeffects
737
- */
738
- jQueryObject.prototype.hasClass = function(className) {};
739
-
740
- /**
741
- * @param {(string|number|function(number,number))=} arg1
742
- * @return {(number|jQueryObject)}
743
- */
744
- jQueryObject.prototype.height = function(arg1) {};
745
-
746
- /**
747
- * @param {(string|number)=} duration
748
- * @param {(function()|string)=} arg2
749
- * @param {function()=} callback
750
- * @return {jQueryObject}
751
- */
752
- jQueryObject.prototype.hide = function(duration, arg2, callback) {};
753
-
754
- /**
755
- * @param {function(jQuery.event)} arg1
756
- * @param {function(jQuery.event)=} handlerOut
757
- * @return {jQueryObject}
758
- */
759
- jQueryObject.prototype.hover = function(arg1, handlerOut) {};
760
-
761
- /**
762
- * @param {(string|function(number,string))=} arg1
763
- * @return {(string|jQueryObject)}
764
- */
765
- jQueryObject.prototype.html = function(arg1) {};
766
-
767
- /**
768
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject)=} arg1
769
- * @return {number}
770
- */
771
- jQueryObject.prototype.index = function(arg1) {};
772
-
773
- /**
774
- * @return {number}
775
- * @nosideeffects
776
- */
777
- jQueryObject.prototype.innerHeight = function() {};
778
-
779
- /**
780
- * @return {number}
781
- * @nosideeffects
782
- */
783
- jQueryObject.prototype.innerWidth = function() {};
784
-
785
- /**
786
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject)} target
787
- * @return {jQueryObject}
788
- */
789
- jQueryObject.prototype.insertAfter = function(target) {};
790
-
791
- /**
792
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject)} target
793
- * @return {jQueryObject}
794
- */
795
- jQueryObject.prototype.insertBefore = function(target) {};
796
-
797
- /**
798
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject)} selector
799
- * @return {boolean}
800
- * @nosideeffects
801
- */
802
- jQueryObject.prototype.is = function(selector) {};
803
-
804
- /**
805
- * @param {(function(jQuery.event)|Object)=} arg1
806
- * @param {function(jQuery.event)=} handler
807
- * @return {jQueryObject}
808
- */
809
- jQueryObject.prototype.keydown = function(arg1, handler) {};
810
-
811
- /**
812
- * @param {(function(jQuery.event)|Object)=} arg1
813
- * @param {function(jQuery.event)=} handler
814
- * @return {jQueryObject}
815
- */
816
- jQueryObject.prototype.keypress = function(arg1, handler) {};
817
-
818
- /**
819
- * @param {(function(jQuery.event)|Object)=} arg1
820
- * @param {function(jQuery.event)=} handler
821
- * @return {jQueryObject}
822
- */
823
- jQueryObject.prototype.keyup = function(arg1, handler) {};
824
-
825
- /**
826
- * @return {jQueryObject}
827
- * @nosideeffects
828
- */
829
- jQueryObject.prototype.last = function() {};
830
-
831
- /** @type {number} */
832
- jQueryObject.prototype.length;
833
-
834
- /**
835
- * @param {string} eventType
836
- * @param {(function()|Object)} arg2
837
- * @param {function()=} handler
838
- * @return {jQueryObject}
839
- */
840
- jQueryObject.prototype.live = function(eventType, arg2, handler) {};
841
-
842
- /**
843
- * @param {(function(jQuery.event)|Object|string)=} arg1
844
- * @param {(function(jQuery.event)|Object.<string,*>|string)=} arg2
845
- * @param {function(string,string,XMLHttpRequest)=} complete
846
- * @return {jQueryObject}
847
- */
848
- jQueryObject.prototype.load = function(arg1, arg2, complete) {};
849
-
850
- /**
851
- * @param {function(number,Element)} callback
852
- * @return {jQueryObject}
853
- */
854
- jQueryObject.prototype.map = function(callback) {};
855
-
856
- /**
857
- * @param {(function(jQuery.event)|Object)=} arg1
858
- * @param {function(jQuery.event)=} handler
859
- * @return {jQueryObject}
860
- */
861
- jQueryObject.prototype.mousedown = function(arg1, handler) {};
862
-
863
- /**
864
- * @param {(function(jQuery.event)|Object)=} arg1
865
- * @param {function(jQuery.event)=} handler
866
- * @return {jQueryObject}
867
- */
868
- jQueryObject.prototype.mouseenter = function(arg1, handler) {};
869
-
870
- /**
871
- * @param {(function(jQuery.event)|Object)=} arg1
872
- * @param {function(jQuery.event)=} handler
873
- * @return {jQueryObject}
874
- */
875
- jQueryObject.prototype.mouseleave = function(arg1, handler) {};
876
-
877
- /**
878
- * @param {(function(jQuery.event)|Object)=} arg1
879
- * @param {function(jQuery.event)=} handler
880
- * @return {jQueryObject}
881
- */
882
- jQueryObject.prototype.mousemove = function(arg1, handler) {};
883
-
884
- /**
885
- * @param {(function(jQuery.event)|Object)=} arg1
886
- * @param {function(jQuery.event)=} handler
887
- * @return {jQueryObject}
888
- */
889
- jQueryObject.prototype.mouseout = function(arg1, handler) {};
890
-
891
- /**
892
- * @param {(function(jQuery.event)|Object)=} arg1
893
- * @param {function(jQuery.event)=} handler
894
- * @return {jQueryObject}
895
- */
896
- jQueryObject.prototype.mouseover = function(arg1, handler) {};
897
-
898
- /**
899
- * @param {(function(jQuery.event)|Object)=} arg1
900
- * @param {function(jQuery.event)=} handler
901
- * @return {jQueryObject}
902
- */
903
- jQueryObject.prototype.mouseup = function(arg1, handler) {};
904
-
905
- /**
906
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject)=} selector
907
- * @return {jQueryObject}
908
- * @nosideeffects
909
- */
910
- jQueryObject.prototype.next = function(selector) {};
911
-
912
- /**
913
- * @param {string=} selector
914
- * @return {jQueryObject}
915
- * @nosideeffects
916
- */
917
- jQueryObject.prototype.nextAll = function(selector) {};
918
-
919
- /**
920
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject)=} selector
921
- * @return {jQueryObject}
922
- * @nosideeffects
923
- */
924
- jQueryObject.prototype.nextUntil = function(selector) {};
925
-
926
- /**
927
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject|function(number))} arg1
928
- * @return {jQueryObject}
929
- */
930
- jQueryObject.prototype.not = function(arg1) {};
931
-
932
- /**
933
- * @param {(Object|function(number,{top:number,left:number}))=} arg1
934
- * @return {(Object|jQueryObject)}
935
- */
936
- jQueryObject.prototype.offset = function(arg1) {};
937
-
938
- /**
939
- * @return {jQueryObject}
940
- * @nosideeffects
941
- */
942
- jQueryObject.prototype.offsetParent = function() {};
943
-
944
- /**
945
- * @param {string} eventType
946
- * @param {Object=} eventData
947
- * @param {function(jQuery.event)=} handler
948
- * @return {jQueryObject}
949
- */
950
- jQueryObject.prototype.one = function(eventType, eventData, handler) {};
951
-
952
- /**
953
- * @param {boolean=} includeMargin
954
- * @return {number}
955
- * @nosideeffects
956
- */
957
- jQueryObject.prototype.outerHeight = function(includeMargin) {};
958
-
959
- /**
960
- * @param {boolean=} includeMargin
961
- * @return {number}
962
- * @nosideeffects
963
- */
964
- jQueryObject.prototype.outerWidth = function(includeMargin) {};
965
-
966
- /**
967
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject)=} selector
968
- * @return {jQueryObject}
969
- * @nosideeffects
970
- */
971
- jQueryObject.prototype.parent = function(selector) {};
972
-
973
- /**
974
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject)=} selector
975
- * @return {jQueryObject}
976
- * @nosideeffects
977
- */
978
- jQueryObject.prototype.parents = function(selector) {};
979
-
980
- /**
981
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject)=} selector
982
- * @return {jQueryObject}
983
- * @nosideeffects
984
- */
985
- jQueryObject.prototype.parentsUntil = function(selector) {};
986
-
987
- /**
988
- * @return {Object}
989
- * @nosideeffects
990
- */
991
- jQueryObject.prototype.position = function() {};
992
-
993
- /**
994
- * @param {(string|Element|jQueryObject|function(number,string))} arg1
995
- * @return {jQueryObject}
996
- */
997
- jQueryObject.prototype.prepend = function(arg1) {};
998
-
999
- /**
1000
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject)} target
1001
- * @return {jQueryObject}
1002
- */
1003
- jQueryObject.prototype.prependTo = function(target) {};
1004
-
1005
- /**
1006
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject)=} selector
1007
- * @return {jQueryObject}
1008
- * @nosideeffects
1009
- */
1010
- jQueryObject.prototype.prev = function(selector) {};
1011
-
1012
- /**
1013
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject)=} selector
1014
- * @return {jQueryObject}
1015
- * @nosideeffects
1016
- */
1017
- jQueryObject.prototype.prevAll = function(selector) {};
1018
-
1019
- /**
1020
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject)=} selector
1021
- * @return {jQueryObject}
1022
- * @nosideeffects
1023
- */
1024
- jQueryObject.prototype.prevUntil = function(selector) {};
1025
-
1026
- /**
1027
- * @param {Array} elements
1028
- * @param {string=} name
1029
- * @param {Array=} args
1030
- * @return {jQueryObject}
1031
- */
1032
- jQueryObject.prototype.pushStack = function(elements, name, args) {};
1033
-
1034
- /**
1035
- * @param {string=} queueName
1036
- * @param {(Array|function(function()))=} arg2
1037
- * @return {(Array|jQueryObject)}
1038
- */
1039
- jQueryObject.prototype.queue = function(queueName, arg2) {};
1040
-
1041
- /**
1042
- * @param {function()} handler
1043
- * @return {jQueryObject}
1044
- */
1045
- jQueryObject.prototype.ready = function(handler) {};
1046
-
1047
- /**
1048
- * @param {string=} selector
1049
- * @return {jQueryObject}
1050
- */
1051
- jQueryObject.prototype.remove = function(selector) {};
1052
-
1053
- /**
1054
- * @param {string} attributeName
1055
- * @return {jQueryObject}
1056
- */
1057
- jQueryObject.prototype.removeAttr = function(attributeName) {};
1058
-
1059
- /**
1060
- * @param {(string|function(number,string))=} arg1
1061
- * @return {jQueryObject}
1062
- */
1063
- jQueryObject.prototype.removeClass = function(arg1) {};
1064
-
1065
- /**
1066
- * @param {string=} name
1067
- * @return {jQueryObject}
1068
- */
1069
- jQueryObject.prototype.removeData = function(name) {};
1070
-
1071
- /** @return {jQueryObject} */
1072
- jQueryObject.prototype.replaceAll = function() {};
1073
-
1074
- /**
1075
- * @param {(string|Element|jQueryObject|function())} arg1
1076
- * @return {jQueryObject}
1077
- */
1078
- jQueryObject.prototype.replaceWith = function(arg1) {};
1079
-
1080
- /**
1081
- * @param {(function(jQuery.event)|Object)=} arg1
1082
- * @param {function(jQuery.event)=} handler
1083
- * @return {jQueryObject}
1084
- */
1085
- jQueryObject.prototype.resize = function(arg1, handler) {};
1086
-
1087
- /**
1088
- * @param {(function(jQuery.event)|Object)=} arg1
1089
- * @param {function(jQuery.event)=} handler
1090
- * @return {jQueryObject}
1091
- */
1092
- jQueryObject.prototype.scroll = function(arg1, handler) {};
1093
-
1094
- /**
1095
- * @param {number=} value
1096
- * @return {(number|jQueryObject)}
1097
- */
1098
- jQueryObject.prototype.scrollLeft = function(value) {};
1099
-
1100
- /**
1101
- * @param {number=} value
1102
- * @return {(number|jQueryObject)}
1103
- */
1104
- jQueryObject.prototype.scrollTop = function(value) {};
1105
-
1106
- /**
1107
- * @param {(function(jQuery.event)|Object)=} arg1
1108
- * @param {function(jQuery.event)=} handler
1109
- * @return {jQueryObject}
1110
- */
1111
- jQueryObject.prototype.select = function(arg1, handler) {};
1112
-
1113
- /** @type {string} */
1114
- jQueryObject.prototype.selector;
1115
-
1116
- /**
1117
- * @return {string}
1118
- * @nosideeffects
1119
- */
1120
- jQueryObject.prototype.serialize = function() {};
1121
-
1122
- /**
1123
- * @return {Array}
1124
- * @nosideeffects
1125
- */
1126
- jQueryObject.prototype.serializeArray = function() {};
1127
-
1128
- /**
1129
- * @param {(string|number)=} duration
1130
- * @param {(function()|string)=} arg2
1131
- * @param {function()=} callback
1132
- * @return {jQueryObject}
1133
- */
1134
- jQueryObject.prototype.show = function(duration, arg2, callback) {};
1135
-
1136
- /**
1137
- * @param {(Window|Document|Element|Array.<Element>|string|jQueryObject)=} selector
1138
- * @return {jQueryObject}
1139
- * @nosideeffects
1140
- */
1141
- jQueryObject.prototype.siblings = function(selector) {};
1142
-
1143
- /**
1144
- * @return {number}
1145
- * @nosideeffects
1146
- */
1147
- jQueryObject.prototype.size = function() {};
1148
-
1149
- /**
1150
- * @param {number} start
1151
- * @param {number=} end
1152
- * @return {jQueryObject}
1153
- * @nosideeffects
1154
- */
1155
- jQueryObject.prototype.slice = function(start, end) {};
1156
-
1157
- /**
1158
- * @param {(string|number)=} duration
1159
- * @param {(function()|string)=} arg2
1160
- * @param {function()=} callback
1161
- * @return {jQueryObject}
1162
- */
1163
- jQueryObject.prototype.slideDown = function(duration, arg2, callback) {};
1164
-
1165
- /**
1166
- * @param {(string|number)=} duration
1167
- * @param {(function()|string)=} arg2
1168
- * @param {function()=} callback
1169
- * @return {jQueryObject}
1170
- */
1171
- jQueryObject.prototype.slideToggle = function(duration, arg2, callback) {};
1172
-
1173
- /**
1174
- * @param {(string|number)=} duration
1175
- * @param {(function()|string)=} arg2
1176
- * @param {function()=} callback
1177
- * @return {jQueryObject}
1178
- */
1179
- jQueryObject.prototype.slideUp = function(duration, arg2, callback) {};
1180
-
1181
- /**
1182
- * @param {boolean=} clearQueue
1183
- * @param {boolean=} jumpToEnd
1184
- * @return {jQueryObject}
1185
- */
1186
- jQueryObject.prototype.stop = function(clearQueue, jumpToEnd) {};
1187
-
1188
- /**
1189
- * @param {(function(jQuery.event)|Object)=} arg1
1190
- * @param {function(jQuery.event)=} handler
1191
- * @return {jQueryObject}
1192
- */
1193
- jQueryObject.prototype.submit = function(arg1, handler) {};
1194
-
1195
- /**
1196
- * @param {(string|function(number,string))=} arg1
1197
- * @return {(string|jQueryObject)}
1198
- */
1199
- jQueryObject.prototype.text = function(arg1) {};
1200
-
1201
- /**
1202
- * @return {Array}
1203
- * @nosideeffects
1204
- */
1205
- jQueryObject.prototype.toArray = function() {};
1206
-
1207
- /**
1208
- * @param {(function(jQuery.event)|string|number|boolean)=} arg1
1209
- * @param {(function(jQuery.event)|string)=} arg2
1210
- * @param {function(jQuery.event)=} arg3
1211
- * @return {jQueryObject}
1212
- */
1213
- jQueryObject.prototype.toggle = function(arg1, arg2, arg3) {};
1214
-
1215
- /**
1216
- * @param {(string|function(number,string))} arg1
1217
- * @param {boolean=} flag
1218
- * @return {jQueryObject}
1219
- */
1220
- jQueryObject.prototype.toggleClass = function(arg1, flag) {};
1221
-
1222
- /**
1223
- * @param {(string|jQuery.event)} arg1
1224
- * @param {Array=} extraParameters
1225
- * @return {jQueryObject}
1226
- */
1227
- jQueryObject.prototype.trigger = function(arg1, extraParameters) {};
1228
-
1229
- /**
1230
- * @param {string} eventType
1231
- * @param {Array} extraParameters
1232
- * @return {Object}
1233
- */
1234
- jQueryObject.prototype.triggerHandler = function(eventType, extraParameters) {};
1235
-
1236
- /**
1237
- * @param {(string|Object)} arg1
1238
- * @param {(function(jQuery.event)|boolean)=} arg2
1239
- * @return {jQueryObject}
1240
- */
1241
- jQueryObject.prototype.unbind = function(arg1, arg2) {};
1242
-
1243
- /**
1244
- * @param {string=} selector
1245
- * @param {string=} eventType
1246
- * @param {function()=} handler
1247
- * @return {jQueryObject}
1248
- */
1249
- jQueryObject.prototype.undelegate = function(selector, eventType, handler) {};
1250
-
1251
- /**
1252
- * @param {(function(jQuery.event)|Object)=} arg1
1253
- * @param {function(jQuery.event)=} handler
1254
- * @return {jQueryObject}
1255
- */
1256
- jQueryObject.prototype.unload = function(arg1, handler) {};
1257
-
1258
- /** @return {jQueryObject} */
1259
- jQueryObject.prototype.unwrap = function() {};
1260
-
1261
- /**
1262
- * @param {(string|function(number,*))=} arg1
1263
- * @return {(string|Array|jQueryObject)}
1264
- */
1265
- jQueryObject.prototype.val = function(arg1) {};
1266
-
1267
- /**
1268
- * @param {(string|number|function(number,number))=} arg1
1269
- * @return {(number|jQueryObject)}
1270
- */
1271
- jQueryObject.prototype.width = function(arg1) {};
1272
-
1273
- /**
1274
- * @param {(string|Window|Document|Element|Array.<Element>|jQueryObject|function())} arg1
1275
- * @return {jQueryObject}
1276
- */
1277
- jQueryObject.prototype.wrap = function(arg1) {};
1278
-
1279
- /**
1280
- * @param {(string|Window|Document|Element|Array.<Element>|jQueryObject)} wrappingElement
1281
- * @return {jQueryObject}
1282
- */
1283
- jQueryObject.prototype.wrapAll = function(wrappingElement) {};
1284
-
1285
- /**
1286
- * @param {(string|function())} arg1
1287
- * @return {jQueryObject}
1288
- */
1289
- jQueryObject.prototype.wrapInner = function(arg1) {};