1515 */
1616
1717/**
18- * @fileoverview Externs for jQuery 1.7.1
18+ * @fileoverview Externs for jQuery 1.7.2
1919 *
2020 * Note that some functions use different return types depending on the number
2121 * of parameters passed in. In these cases, you may need to annotate the type
@@ -563,8 +563,8 @@ $.Deferred = function(opt_fn) {};
563563 * @param {function()= } alwaysCallbacks2
564564 * @return {jQuery.deferred }
565565 */
566- jQuery . deferred . prototype . always =
567- function ( alwaysCallbacks , alwaysCallbacks2 ) { } ;
566+ jQuery . deferred . prototype . always
567+ = function ( alwaysCallbacks , alwaysCallbacks2 ) { } ;
568568
569569/**
570570 * @param {function() } doneCallbacks
@@ -685,7 +685,6 @@ jQuery.prototype.delegate = function(selector, arg2, arg3, handler) {};
685685/**
686686 * @param {Element } elem
687687 * @param {string= } queueName
688- * @return {!jQuery }
689688 */
690689jQuery . dequeue = function ( elem , queueName ) { } ;
691690
@@ -698,7 +697,6 @@ jQuery.prototype.dequeue = function(queueName) {};
698697/**
699698 * @param {Element } elem
700699 * @param {string= } queueName
701- * @return {!jQuery }
702700 */
703701$ . dequeue = function ( elem , queueName ) { } ;
704702
@@ -718,7 +716,7 @@ jQuery.prototype.die = function(arg1, handler) {};
718716
719717/**
720718 * @param {Object } collection
721- * @param {function(number,* ) } callback
719+ * @param {function(number,? ) } callback
722720 * @return {Object }
723721 */
724722jQuery . each = function ( collection , callback ) { } ;
@@ -731,7 +729,7 @@ jQuery.prototype.each = function(fnc) {};
731729
732730/**
733731 * @param {Object } collection
734- * @param {function(number,* ) } callback
732+ * @param {function(number,? ) } callback
735733 * @return {Object }
736734 */
737735$ . each = function ( collection , callback ) { } ;
@@ -748,7 +746,6 @@ jQuery.prototype.end = function() {};
748746/**
749747 * @param {number } arg1
750748 * @return {!jQuery }
751- * @nosideeffects
752749 */
753750jQuery . prototype . eq = function ( arg1 ) { } ;
754751
@@ -775,9 +772,10 @@ jQuery.event = function(eventType) {};
775772 * @constructor
776773 * @extends {jQuery.event }
777774 * @param {string } eventType
775+ * @param {Object= } properties
778776 * @return {jQuery.Event }
779777 */
780- jQuery . Event = function ( eventType ) { } ;
778+ jQuery . Event = function ( eventType , properties ) { } ;
781779
782780/**
783781 * @constructor
@@ -790,9 +788,10 @@ $.event = function(eventType) {};
790788 * @constructor
791789 * @extends {jQuery.event }
792790 * @param {string } eventType
791+ * @param {Object= } properties
793792 * @return {$.Event }
794793 */
795- $ . Event = function ( eventType ) { } ;
794+ $ . Event = function ( eventType , properties ) { } ;
796795
797796/** @type {Element } */
798797jQuery . event . prototype . currentTarget ;
@@ -930,22 +929,13 @@ jQuery.prototype.filter = function(arg1) {};
930929 */
931930jQuery . prototype . find = function ( arg1 ) { } ;
932931
933- /**
934- * @return {!jQuery }
935- * @nosideeffects
936- */
932+ /** @return {!jQuery } */
937933jQuery . prototype . first = function ( ) { } ;
938934
939- /**
940- * @see http://docs.jquery.com/Plugins/Authoring
941- * @type {Object }
942- */
935+ /** @see http://docs.jquery.com/Plugins/Authoring */
943936jQuery . fn ;
944937
945- /**
946- * @see http://docs.jquery.com/Plugins/Authoring
947- * @type {Object }
948- */
938+ /** @see http://docs.jquery.com/Plugins/Authoring */
949939$ . fn ;
950940
951941/**
@@ -1377,10 +1367,7 @@ jQuery.prototype.keypress = function(arg1, handler) {};
13771367 */
13781368jQuery . prototype . keyup = function ( arg1 , handler ) { } ;
13791369
1380- /**
1381- * @return {!jQuery }
1382- * @nosideeffects
1383- */
1370+ /** @return {!jQuery } */
13841371jQuery . prototype . last = function ( ) { } ;
13851372
13861373/** @type {number } */
@@ -1965,7 +1952,6 @@ jQuery.prototype.size = function() {};
19651952 * @param {number } start
19661953 * @param {number= } end
19671954 * @return {!jQuery }
1968- * @nosideeffects
19691955 */
19701956jQuery . prototype . slice = function ( start , end ) { } ;
19711957
@@ -2207,22 +2193,24 @@ jQuery.prototype.unload = function(arg1, handler) {};
22072193jQuery . prototype . unwrap = function ( ) { } ;
22082194
22092195/**
2210- * @param {(string|function(number,*))= } arg1
2196+ * @param {(string|Array.<string>| function(number,*))= } arg1
22112197 * @return {(string|number|Array.<string>|!jQuery) }
22122198 */
22132199jQuery . prototype . val = function ( arg1 ) { } ;
22142200
22152201/**
2216- * @param {jQuery.deferred } deferreds
2202+ * @param {jQuery.deferred } deferred
2203+ * @param {...jQuery.deferred } deferreds
22172204 * @return {jQuery.Promise }
22182205 */
2219- jQuery . when = function ( deferreds ) { } ;
2206+ jQuery . when = function ( deferred , deferreds ) { } ;
22202207
22212208/**
2222- * @param {jQuery.deferred } deferreds
2209+ * @param {jQuery.deferred } deferred
2210+ * @param {...jQuery.deferred } deferreds
22232211 * @return {jQuery.Promise }
22242212 */
2225- $ . when = function ( deferreds ) { } ;
2213+ $ . when = function ( deferred , deferreds ) { } ;
22262214
22272215/**
22282216 * @param {(string|number|function(number,number))= } arg1
0 commit comments