closure 1.3.1 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
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,718 +0,0 @@
1
- /*
2
- * Copyright 2009 Google Inc.
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_3_2')
19
- */
20
-
21
- /**
22
- * @fileoverview Externs for jQuery 1.3.2.
23
- * The externs defined here are in the order of the jQuery documentation pages.
24
- * Note that some functions use different return types depending on the number
25
- * of parameters passed in. In this cases, you may need to annotate the type
26
- * of the result in your code, so the JSCompiler understands which type you're
27
- * expecting. For example:
28
- * <code>var elt = /** @type {Element} * / (foo.get(0));</code>
29
- * @see http://docs.jquery.com/
30
- */
31
-
32
- /**
33
- * @param {string|Node|Element|Array.<Element>|Function|Window} arg
34
- * @param {(jQueryObject|Document)=} opt_arg
35
- * @return {jQueryObject}
36
- */
37
- var $ = function(arg, opt_arg) {};
38
-
39
- var jQuery = {};
40
-
41
- /** @constructor */
42
- function jQueryObject() {};
43
-
44
-
45
- // http://docs.jquery.com/Core - Object accessors
46
-
47
- /**
48
- * @param {Function} callback
49
- * @return {jQueryObject}
50
- */
51
- jQueryObject.prototype.each = function(callback) {};
52
-
53
- /** @return {number} */
54
- jQueryObject.prototype.size = function() {};
55
-
56
- /** @type {number} */
57
- jQueryObject.prototype.length;
58
-
59
- /** @return {string} */
60
- jQueryObject.prototype.selector = function() {};
61
-
62
- /** @return {Element} */
63
- jQueryObject.prototype.context = function() {};
64
-
65
- /**
66
- * @param {number=} opt_index
67
- * @return {Element|Array.<Element>}
68
- */
69
- jQueryObject.prototype.get = function(opt_index) {};
70
-
71
- /**
72
- * @param {Element|jQueryObject} subject
73
- * @return {number}
74
- */
75
- jQueryObject.prototype.index = function(subject) {};
76
-
77
-
78
- // http://docs.jquery.com/Core - Data
79
-
80
- /**
81
- * @param {string} name
82
- * @param {string=} opt_value
83
- * @return {*}
84
- */
85
- jQueryObject.prototype.data = function(name, opt_value) {};
86
-
87
- /**
88
- * @param {string} name
89
- * @return {jQueryObject}
90
- */
91
- jQueryObject.prototype.removeData = function(name) {};
92
-
93
- /**
94
- * @param {(string|Function|Array.<Function>)=} opt_arg1
95
- * @param {(Function|Array.<Function>)=} opt_arg2
96
- * @return {Array.<Function>|jQueryObject}
97
- */
98
- jQueryObject.prototype.queue = function(opt_arg1, opt_arg2) {};
99
-
100
- /**
101
- * @param {string=} opt_name
102
- * @return {jQueryObject}
103
- */
104
- jQueryObject.prototype.dequeue = function(opt_name) {};
105
-
106
-
107
- // http://docs.jquery.com/Attributes - Attr
108
-
109
- /**
110
- * @param {string|Object} nameOrProperties
111
- * @param {*=} opt_value
112
- * @return {Object|jQueryObject}
113
- */
114
- jQueryObject.prototype.attr = function(nameOrProperties, opt_value) {};
115
-
116
- /**
117
- * @param {string} name
118
- * @return {jQueryObject}
119
- */
120
- jQueryObject.prototype.removeAttr = function(name) {};
121
-
122
-
123
- // http://docs.jquery.com/Attributes - Class
124
-
125
- /**
126
- * @param {string} klass
127
- * @return {jQueryObject}
128
- */
129
- jQueryObject.prototype.addClass = function(klass) {};
130
-
131
- /**
132
- * @param {string} klass
133
- * @return {boolean}
134
- */
135
- jQueryObject.prototype.hasClass = function(klass) {};
136
-
137
- /**
138
- * @param {string=} opt_klass
139
- * @return {jQueryObject}
140
- */
141
- jQueryObject.prototype.removeClass = function(opt_klass) {};
142
-
143
- /**
144
- * @param {string} klass
145
- * @param {boolean=} opt_switch
146
- * @return {jQueryObject}
147
- */
148
- jQueryObject.prototype.toggleClass = function(klass, opt_switch) {};
149
-
150
-
151
- // http://docs.jquery.com/Attributes - HTML, Text, Value
152
-
153
- /**
154
- * @param {string} opt_val
155
- * @return {string|jQueryObject}
156
- */
157
- jQueryObject.prototype.html = function(opt_val) {};
158
-
159
- /**
160
- * @param {string=} opt_val
161
- * @return {string|jQueryObject}
162
- */
163
- jQueryObject.prototype.text = function(opt_val) {};
164
-
165
- /**
166
- * @param {string|Array.<string>} opt_val
167
- * @return {string|Array|jQueryObject}
168
- */
169
- jQueryObject.prototype.val = function(opt_val) {};
170
-
171
-
172
- // http://docs.jquery.com/Traversing - Filtering
173
-
174
- /**
175
- * @param {number} index
176
- * @return {jQueryObject}
177
- */
178
- jQueryObject.prototype.eq = function(index) {};
179
-
180
- /**
181
- * @param {string|Function} arg
182
- * @return {jQueryObject}
183
- */
184
- jQueryObject.prototype.filter = function(arg) {};
185
-
186
- /**
187
- * @param {string} expr
188
- * @return {boolean}
189
- */
190
- jQueryObject.prototype.is = function(expr) {};
191
-
192
- /**
193
- * @param {Function} callback
194
- * @return {jQueryObject}
195
- */
196
- jQueryObject.prototype.map = function(callback) {};
197
-
198
- /**
199
- * @param {string} expr
200
- * @return {jQueryObject}
201
- */
202
- jQueryObject.prototype.not = function(expr) {};
203
-
204
- /**
205
- * @param {number} start
206
- * @param {number=} opt_end
207
- * @return {jQueryObject}
208
- */
209
- jQueryObject.prototype.slice = function(start, opt_end) {};
210
-
211
-
212
- // http://docs.jquery.com/Traversing - Finding, Chaining
213
-
214
- /**
215
- * @param {string|Element|Array.<Element>} expr
216
- * @return {jQueryObject}
217
- */
218
- jQueryObject.prototype.add = function(expr) {};
219
-
220
- /**
221
- * @param {string=} opt_expr
222
- * @return {jQueryObject}
223
- */
224
- jQueryObject.prototype.children = function(opt_expr) {};
225
-
226
- /**
227
- * @param {string} expr
228
- * @return {jQueryObject}
229
- */
230
- jQueryObject.prototype.closest = function(expr) {};
231
-
232
- /**
233
- * @return {jQueryObject}
234
- */
235
- jQueryObject.prototype.contents = function() {};
236
-
237
- /**
238
- * @param {string} expr
239
- * @return {jQueryObject}
240
- */
241
- jQueryObject.prototype.find = function(expr) {};
242
-
243
- /**
244
- * @param {string=} opt_expr
245
- * @return {jQueryObject}
246
- */
247
- jQueryObject.prototype.next = function(opt_expr) {};
248
-
249
- /**
250
- * @param {string=} opt_expr
251
- * @return {jQueryObject}
252
- */
253
- jQueryObject.prototype.nextAll = function(opt_expr) {};
254
-
255
- /**
256
- * @return {jQueryObject}
257
- */
258
- jQueryObject.prototype.offsetParent = function() {};
259
-
260
- /**
261
- * @param {string=} opt_expr
262
- * @return {jQueryObject}
263
- */
264
- jQueryObject.prototype.parent = function(opt_expr) {};
265
-
266
- /**
267
- * @param {string=} opt_expr
268
- * @return {jQueryObject}
269
- */
270
- jQueryObject.prototype.parents = function(opt_expr) {};
271
-
272
- /**
273
- * @param {string=} opt_expr
274
- * @return {jQueryObject}
275
- */
276
- jQueryObject.prototype.prev = function(opt_expr) {};
277
-
278
- /**
279
- * @param {string=} opt_expr
280
- * @return {jQueryObject}
281
- */
282
- jQueryObject.prototype.prevAll = function(opt_expr) {};
283
-
284
- /**
285
- * @param {string=} opt_expr
286
- * @return {jQueryObject}
287
- */
288
- jQueryObject.prototype.siblings = function(opt_expr) {};
289
-
290
- /**
291
- * @return {jQueryObject}
292
- */
293
- jQueryObject.prototype.andSelf = function() {};
294
-
295
- /**
296
- * @return {jQueryObject}
297
- */
298
- jQueryObject.prototype.end = function() {};
299
-
300
-
301
- // http://docs.jquery.com/Manipulation
302
-
303
- /**
304
- * @param {string|Node|Element|jQueryObject} content
305
- * @return {jQueryObject}
306
- */
307
- jQueryObject.prototype.append = function(content) {};
308
-
309
- /**
310
- * @param {string} selector
311
- * @return {jQueryObject}
312
- */
313
- jQueryObject.prototype.appendTo = function(selector) {};
314
-
315
- /**
316
- * @param {string|Node|Element|jQueryObject} content
317
- * @return {jQueryObject}
318
- */
319
- jQueryObject.prototype.prepend = function(content) {};
320
-
321
- /**
322
- * @param {string} selector
323
- * @return {jQueryObject}
324
- */
325
- jQueryObject.prototype.prependTo = function(selector) {};
326
-
327
- /**
328
- * @param {string|Node|Element|jQueryObject} content
329
- * @return {jQueryObject}
330
- */
331
- jQueryObject.prototype.after = function(content) {};
332
-
333
- /**
334
- * @param {string|Node|Element|jQueryObject} content
335
- * @return {jQueryObject}
336
- */
337
- jQueryObject.prototype.before = function(content) {};
338
-
339
- /**
340
- * @param {string} selector
341
- * @return {jQueryObject}
342
- */
343
- jQueryObject.prototype.insertAfter = function(selector) {};
344
-
345
- /**
346
- * @param {string} selector
347
- * @return {jQueryObject}
348
- */
349
- jQueryObject.prototype.insertBefore = function(selector) {};
350
-
351
- /**
352
- * @param {string|Element} arg
353
- * @return {jQueryObject}
354
- */
355
- jQueryObject.prototype.wrap = function(arg) {};
356
-
357
- /**
358
- * @param {string|Element} arg
359
- * @return {jQueryObject}
360
- */
361
- jQueryObject.prototype.wrapAll = function(arg) {};
362
-
363
- /**
364
- * @param {string|Element} arg
365
- * @return {jQueryObject}
366
- */
367
- jQueryObject.prototype.wrapInner = function(arg) {};
368
-
369
- /**
370
- * @param {string|Node|Element|jQueryObject} content
371
- * @return {jQueryObject}
372
- */
373
- jQueryObject.prototype.replaceWith = function(content) {};
374
-
375
- /**
376
- * @param {string} selector
377
- * @return {jQueryObject}
378
- */
379
- jQueryObject.prototype.replaceAll = function(selector) {};
380
-
381
- /**
382
- * @return {jQueryObject}
383
- */
384
- jQueryObject.prototype.empty = function() {};
385
-
386
- /**
387
- * @param {string=} opt_expr
388
- * @return {jQueryObject}
389
- */
390
- jQueryObject.prototype.remove = function(opt_expr) {};
391
-
392
- /**
393
- * @param {boolean=} opt_cloneEvents
394
- * @return {jQueryObject}
395
- */
396
- jQueryObject.prototype.clone = function(opt_cloneEvents) {};
397
-
398
-
399
- // http://docs.jquery.com/CSS
400
-
401
- /**
402
- * @param {string|Object} nameOrProperties
403
- * @param {(string|number|Function)=} opt_value
404
- * @return {Object|jQueryObject|string}
405
- */
406
- jQueryObject.prototype.css = function(nameOrProperties, opt_value) {};
407
-
408
- /**
409
- * @return {Object}
410
- */
411
- jQueryObject.prototype.offset = function() {};
412
-
413
- /**
414
- * @return {Object}
415
- */
416
- jQueryObject.prototype.position = function() {};
417
-
418
- /**
419
- * @param {number=} opt_val
420
- * @return {number|jQueryObject}
421
- */
422
- jQueryObject.prototype.scrollTop = function(opt_val) {};
423
-
424
- /**
425
- * @param {number=} opt_val
426
- * @return {number|jQueryObject}
427
- */
428
- jQueryObject.prototype.scrollLeft = function(opt_val) {};
429
-
430
- /**
431
- * @param {number=} opt_val
432
- * @return {number|jQueryObject}
433
- */
434
- jQueryObject.prototype.height = function(opt_val) {};
435
-
436
- /**
437
- * @param {number=} opt_val
438
- * @return {number|jQueryObject}
439
- */
440
- jQueryObject.prototype.width = function(opt_val) {};
441
-
442
- /**
443
- * @return {number}
444
- */
445
- jQueryObject.prototype.innerHeight = function() {};
446
-
447
- /**
448
- * @return {number}
449
- */
450
- jQueryObject.prototype.innerWidth = function() {};
451
-
452
- /**
453
- * @param {boolean=} opt_margin
454
- * @return {number}
455
- */
456
- jQueryObject.prototype.outerHeight = function(opt_margin) {};
457
-
458
- /**
459
- * @param {boolean=} opt_margin
460
- * @return {number}
461
- */
462
- jQueryObject.prototype.outerWidth = function(opt_margin) {};
463
-
464
-
465
- // http://docs.jquery.com/Events
466
-
467
- /**
468
- * @param {string} type
469
- * @param {Function} fn
470
- * @return {jQueryObject}
471
- */
472
- jQueryObject.prototype.live = function(type, fn) {};
473
-
474
- /**
475
- * @param {string=} opt_type
476
- * @param {Function=} opt_fn
477
- * @return {jQueryObject}
478
- */
479
- jQueryObject.prototype.die = function(opt_type, opt_fn) {};
480
-
481
- /**
482
- * @param {Function} over
483
- * @param {Function} out
484
- * @return {jQueryObject}
485
- */
486
- jQueryObject.prototype.hover = function(over, out) {};
487
-
488
- /**
489
- * @param {Function=} opt_fn
490
- * @return {jQueryObject}
491
- */
492
- jQueryObject.prototype.blur = function(opt_fn) {};
493
-
494
- /**
495
- * @param {Function=} opt_fn
496
- * @return {jQueryObject}
497
- */
498
- jQueryObject.prototype.change = function(opt_fn) {};
499
-
500
- /**
501
- * @param {Function=} opt_fn
502
- * @return {jQueryObject}
503
- */
504
- jQueryObject.prototype.click = function(opt_fn) {};
505
-
506
- /**
507
- * @param {Function=} opt_fn
508
- * @return {jQueryObject}
509
- */
510
- jQueryObject.prototype.dblclick = function(opt_fn) {};
511
-
512
- /**
513
- * @param {Function=} opt_fn
514
- * @return {jQueryObject}
515
- */
516
- jQueryObject.prototype.error = function(opt_fn) {};
517
-
518
- /**
519
- * @param {Function=} opt_fn
520
- * @return {jQueryObject}
521
- */
522
- jQueryObject.prototype.focus = function(opt_fn) {};
523
-
524
- /**
525
- * @param {Function=} opt_fn
526
- * @return {jQueryObject}
527
- */
528
- jQueryObject.prototype.keydown = function(opt_fn) {};
529
-
530
- /**
531
- * @param {Function=} opt_fn
532
- * @return {jQueryObject}
533
- */
534
- jQueryObject.prototype.keypress = function(opt_fn) {};
535
-
536
- /**
537
- * @param {Function} fn
538
- * @return {jQueryObject}
539
- */
540
- jQueryObject.prototype.keyup = function(fn) {};
541
-
542
- /**
543
- * @param {Function} fn
544
- * @return {jQueryObject}
545
- */
546
- jQueryObject.prototype.load = function(fn) {};
547
-
548
- /**
549
- * @param {Function} fn
550
- * @return {jQueryObject}
551
- */
552
- jQueryObject.prototype.mousedown = function(fn) {};
553
-
554
- /**
555
- * @param {Function} fn
556
- * @return {jQueryObject}
557
- */
558
- jQueryObject.prototype.mouseenter = function(fn) {};
559
-
560
- /**
561
- * @param {Function} fn
562
- * @return {jQueryObject}
563
- */
564
- jQueryObject.prototype.mouseleave = function(fn) {};
565
-
566
- /**
567
- * @param {Function} fn
568
- * @return {jQueryObject}
569
- */
570
- jQueryObject.prototype.mousemove = function(fn) {};
571
-
572
- /**
573
- * @param {Function} fn
574
- * @return {jQueryObject}
575
- */
576
- jQueryObject.prototype.mouseout = function(fn) {};
577
-
578
- /**
579
- * @param {Function} fn
580
- * @return {jQueryObject}
581
- */
582
- jQueryObject.prototype.mouseover = function(fn) {};
583
-
584
- /**
585
- * @param {Function} fn
586
- * @return {jQueryObject}
587
- */
588
- jQueryObject.prototype.mouseup = function(fn) {};
589
-
590
- /**
591
- * @param {Function} fn
592
- * @return {jQueryObject}
593
- */
594
- jQueryObject.prototype.resize = function(fn) {};
595
-
596
- /**
597
- * @param {Function} fn
598
- * @return {jQueryObject}
599
- */
600
- jQueryObject.prototype.scroll = function(fn) {};
601
-
602
- /**
603
- * @param {Function=} opt_fn
604
- * @return {jQueryObject}
605
- */
606
- jQueryObject.prototype.select = function(opt_fn) {};
607
-
608
- /**
609
- * @param {Function=} opt_fn
610
- * @return {jQueryObject}
611
- */
612
- jQueryObject.prototype.submit = function(opt_fn) {};
613
-
614
- /**
615
- * @param {Function} fn
616
- * @return {jQueryObject}
617
- */
618
- jQueryObject.prototype.unload = function(fn) {};
619
-
620
-
621
- // http://docs.jquery.com/Effects
622
-
623
- /**
624
- * @param {(number|string)=} opt_speed
625
- * @param {Function=} opt_fn
626
- * @return {jQueryObject}
627
- */
628
- jQueryObject.prototype.show = function(opt_speed, opt_fn) {};
629
-
630
- /**
631
- * @param {(number|string)=} opt_speed
632
- * @param {Function=} opt_fn
633
- * @return {jQueryObject}
634
- */
635
- jQueryObject.prototype.hide = function(opt_speed, opt_fn) {};
636
-
637
- /**
638
- * toggle() is defined as both an event and an effect... sigh.
639
- * @param {(Function|boolean|number|string)=} opt_arg1
640
- * @param {Function=} opt_fn2
641
- * @param {...Function} var_args
642
- * @return {jQueryObject}
643
- */
644
- jQueryObject.prototype.toggle = function(opt_arg1, opt_fn2, var_args) {};
645
-
646
- /**
647
- * @param {(number|string)=} opt_speed
648
- * @param {Function=} opt_fn
649
- * @return {jQueryObject}
650
- */
651
- jQueryObject.prototype.slideDown = function(opt_speed, opt_fn) {};
652
-
653
- /**
654
- * @param {(number|string)=} opt_speed
655
- * @param {Function=} opt_fn
656
- * @return {jQueryObject}
657
- */
658
- jQueryObject.prototype.slideUp = function(opt_speed, opt_fn) {};
659
-
660
- /**
661
- * @param {(number|string)=} opt_speed
662
- * @param {Function=} opt_fn
663
- * @return {jQueryObject}
664
- */
665
- jQueryObject.prototype.slideToggle = function(opt_speed, opt_fn) {};
666
-
667
- /**
668
- * @param {(number|string)=} opt_speed
669
- * @param {Function=} opt_fn
670
- * @return {jQueryObject}
671
- */
672
- jQueryObject.prototype.fadeIn = function(opt_speed, opt_fn) {};
673
-
674
- /**
675
- * @param {(number|string)=} opt_speed
676
- * @param {Function=} opt_fn
677
- * @return {jQueryObject}
678
- */
679
- jQueryObject.prototype.fadeOut = function(opt_speed, opt_fn) {};
680
-
681
- /**
682
- * @param {(number|string)=} opt_speed
683
- * @param {number=} opt_opacity
684
- * @param {Function=} opt_fn
685
- * @return {jQueryObject}
686
- */
687
- jQueryObject.prototype.fadeTo = function(opt_speed, opt_opacity, opt_fn) {};
688
-
689
- /**
690
- * @param {Object} params
691
- * @param {(number|string|Object)=} opt_durationOrOptions
692
- * @param {string=} opt_easing
693
- * @param {Function=} opt_fn
694
- * @return {jQueryObject}
695
- */
696
- jQueryObject.prototype.animate = function(
697
- params, opt_durationOrOptions, opt_easing, opt_fn) {};
698
-
699
- /**
700
- * @param {boolean} opt_clearQueue
701
- * @param {boolean} opt_gotoEnd
702
- * @return {jQueryObject}
703
- */
704
- jQueryObject.prototype.stop = function(opt_clearQueue, opt_gotoEnd) {};
705
-
706
- jQuery.fx = {};
707
-
708
- /** @type {boolean} */
709
- jQuery.fx.off;
710
-
711
- // http://docs.jquery.com/Utilities
712
-
713
- /**
714
- * @param {number|string|Object} value
715
- * @param {Array} array
716
- * @return {number}
717
- */
718
- jQueryObject.prototype.inArray = function(value, array) {};