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