google-closure-compiler
Advanced tools
Comparing version 20150609.0.0 to 20150729.0.0
@@ -53,3 +53,4 @@ /* | ||
* @constructor | ||
* @extends angular.$q.Promise.<!angular.$http.Response.<T>> | ||
* @extends {angular.$q.Promise.<!angular.$http.Response.<T>>} | ||
* @override | ||
* @template T | ||
@@ -66,2 +67,3 @@ */ | ||
* @template RESULT | ||
* @override | ||
*/ | ||
@@ -74,2 +76,3 @@ angular.$http.HttpPromise.prototype.then = | ||
* @return {!angular.$http.HttpPromise.<T>} | ||
* @override | ||
*/ | ||
@@ -81,2 +84,3 @@ angular.$http.HttpPromise.prototype.catch = function(callback) {}; | ||
* @return {!angular.$http.HttpPromise.<T>} | ||
* @override | ||
*/ | ||
@@ -83,0 +87,0 @@ angular.$http.HttpPromise.prototype.finally = function(callback) {}; |
@@ -49,2 +49,3 @@ /* | ||
* @template RESULT | ||
* @override | ||
*/ | ||
@@ -51,0 +52,0 @@ angular.$q.Promise.prototype.then = |
@@ -195,3 +195,3 @@ /* | ||
* @param {Array.<string>=} opt_requires | ||
* @param {(Function|Array.<string|Function>)=} opt_configFn | ||
* @param {angular.Injectable=} opt_configFn | ||
* @return {!angular.Module} | ||
@@ -458,2 +458,7 @@ */ | ||
/** | ||
* @typedef {(Function|Array.<string|Function>)} | ||
*/ | ||
angular.Injectable; | ||
/** | ||
* @typedef {{ | ||
@@ -731,23 +736,18 @@ * addClass: function(string): !angular.JQLite, | ||
* function(string, function(...*):angular.Animation):!angular.Module, | ||
* config: function((Function|Array.<string|Function>)):!angular.Module, | ||
* config: function(angular.Injectable):!angular.Module, | ||
* constant: function(string, *):angular.Module, | ||
* controller: | ||
* (function(string, (Function|Array.<string|Function>)):!angular.Module| | ||
* function(!Object.<(Function|Array.<string|Function>)>): | ||
* !angular.Module), | ||
* (function(string, angular.Injectable):!angular.Module| | ||
* function(!Object.<angular.Injectable>):!angular.Module), | ||
* directive: | ||
* (function(string, (Function|Array.<string|Function>)):!angular.Module| | ||
* function(!Object.<(Function|Array.<string|Function>)>): | ||
* !angular.Module), | ||
* factory: | ||
* function(string, (Function|Array.<string|Function>)):!angular.Module, | ||
* filter: | ||
* function(string, (Function|Array.<string|Function>)):!angular.Module, | ||
* (function(string, angular.Injectable):!angular.Module| | ||
* function(!Object.<angular.Injectable>):!angular.Module), | ||
* factory: function(string, angular.Injectable):!angular.Module, | ||
* filter: function(string, angular.Injectable):!angular.Module, | ||
* name: string, | ||
* provider: function(string, | ||
* (Object|Function|Array.<string|Function>)):!angular.Module, | ||
* provider: function(string, (angular.Injectable|angular.$provide.Provider)): | ||
* !angular.Module, | ||
* requires: !Array.<string>, | ||
* run: function((Function|Array.<string|Function>)):!angular.Module, | ||
* service: | ||
* function(string, (Function|Array.<string|Function>)):!angular.Module, | ||
* run: function(angular.Injectable):!angular.Module, | ||
* service: function(string, angular.Injectable):!angular.Module, | ||
* value: function(string, *):!angular.Module | ||
@@ -765,3 +765,3 @@ * }} | ||
/** | ||
* @param {Function|Array.<string|Function>} configFn | ||
* @param {angular.Injectable} configFn | ||
* @return {!angular.Module} | ||
@@ -780,3 +780,3 @@ */ | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} constructor | ||
* @param {angular.Injectable} constructor | ||
* @return {!angular.Module} | ||
@@ -788,3 +788,3 @@ */ | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} directiveFactory | ||
* @param {angular.Injectable} directiveFactory | ||
* @return {!angular.Module} | ||
@@ -796,3 +796,3 @@ */ | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} providerFunction | ||
* @param {angular.Injectable} providerFunction | ||
* @return {!angular.Module} | ||
@@ -804,3 +804,3 @@ */ | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} filterFactory | ||
* @param {angular.Injectable} filterFactory | ||
* @return {!angular.Module} | ||
@@ -812,3 +812,3 @@ */ | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} providerType | ||
* @param {angular.$provide.Provider|angular.Injectable} providerType | ||
* @return {!angular.Module} | ||
@@ -819,3 +819,3 @@ */ | ||
/** | ||
* @param {Function|Array.<string|Function>} initializationFn | ||
* @param {angular.Injectable} initializationFn | ||
* @return {!angular.Module} | ||
@@ -827,3 +827,3 @@ */ | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} constructor | ||
* @param {angular.Injectable} constructor | ||
* @return {!angular.Module} | ||
@@ -1203,5 +1203,3 @@ */ | ||
/** | ||
* @typedef {{ | ||
* register: function((string|Object), (Function|Array)) | ||
* }} | ||
* @typedef {{register: function((string|Object), angular.Injectable)}} | ||
*/ | ||
@@ -1245,5 +1243,3 @@ angular.$controllerProvider; | ||
/** | ||
* @typedef {{ | ||
* register: function(string, (!Function|!Array.<string|!Function>)) | ||
* }} | ||
* @typedef {{register: function(string, angular.Injectable)}} | ||
*/ | ||
@@ -1254,3 +1250,3 @@ angular.$filterProvider; | ||
* @param {string} name | ||
* @param {(!Function|!Array.<string|!Function>)} fn | ||
* @param {angular.Injectable} fn | ||
*/ | ||
@@ -1398,8 +1394,7 @@ angular.$filterProvider.register = function(name, fn) {}; | ||
* @typedef {{ | ||
* annotate: function((Function|Array.<string|Function>)):Array.<string>, | ||
* annotate: function(angular.Injectable):Array.<string>, | ||
* get: function(string):(?), | ||
* has: function(string):boolean, | ||
* instantiate: function(Function, Object=):Object, | ||
* invoke: function( | ||
* (!Function|Array.<string|!Function>), Object=, Object=):(?) | ||
* invoke: function(angular.Injectable, Object=, Object=):(?) | ||
* }} | ||
@@ -1410,3 +1405,3 @@ */ | ||
/** | ||
* @param {(!Function|Array.<string|!Function>)} fn | ||
* @param {angular.Injectable} fn | ||
* @return {Array.<string>} | ||
@@ -1436,3 +1431,3 @@ */ | ||
/** | ||
* @param {(!Function|Array.<string|!Function>)} fn | ||
* @param {angular.Injectable} fn | ||
* @param {Object=} opt_self | ||
@@ -1795,6 +1790,7 @@ * @param {Object=} opt_locals | ||
* constant: function(string, *): Object, | ||
* decorator: function(string, (!Function|Array.<string|!Function>)), | ||
* factory: function(string, (!Function|Array.<string|!Function>)): Object, | ||
* provider: function(string, (!Function|Array.<string|!Function>)): Object, | ||
* service: function(string, (!Function|Array.<string|!Function>)): Object, | ||
* decorator: function(string, angular.Injectable), | ||
* factory: function(string, angular.Injectable): Object, | ||
* provider: function(string, (angular.Injectable|angular.$provide.Provider)): | ||
* Object, | ||
* service: function(string, angular.Injectable): Object, | ||
* value: function(string, *): Object | ||
@@ -1805,2 +1801,8 @@ * }} | ||
/** @typedef {{$get: (!Array.<string|!Function>|!Function)}} */ | ||
angular.$provide.Provider; | ||
/** @typedef {(!Array.<string|!Function>|!Function)} */ | ||
angular.$provide.Provider.$get; | ||
/** | ||
@@ -1815,3 +1817,3 @@ * @param {string} name | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} decorator | ||
* @param {angular.Injectable} decorator | ||
*/ | ||
@@ -1822,3 +1824,3 @@ angular.$provide.decorator = function(name, decorator) {}; | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} providerFunction | ||
* @param {angular.Injectable} providerFunction | ||
* @return {Object} | ||
@@ -1830,3 +1832,3 @@ */ | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} providerType | ||
* @param {angular.Injectable|angular.$provide.Provider} providerType | ||
* @return {Object} | ||
@@ -1838,3 +1840,3 @@ */ | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} constructor | ||
* @param {angular.Injectable} constructor | ||
* @return {Object} | ||
@@ -1947,3 +1949,3 @@ */ | ||
* @typedef {{ | ||
* controller: (Function|Array.<string|Function>|string|undefined), | ||
* controller: (angular.Injectable|string|undefined), | ||
* controllerAs: (string|undefined), | ||
@@ -1953,3 +1955,3 @@ * template: (string|function(!Array.<Object>=):string|undefined), | ||
* resolve: (Object.<string, ( | ||
* string|Function|Array.<string|Function>|!angular.$q.Promise | ||
* string|angular.Injectable|!angular.$q.Promise | ||
* )>|undefined), | ||
@@ -1963,3 +1965,3 @@ * redirectTo: ( | ||
/** @type {Function|Array.<string|Function>|string} */ | ||
/** @type {angular.Injectable|string} */ | ||
angular.$routeProvider.Params.controller; | ||
@@ -1976,8 +1978,3 @@ | ||
/** | ||
* @type { | ||
* Object.<string, ( | ||
* string|Function|Array.<string|Function>|!angular.$q.Promise | ||
* )>} | ||
*/ | ||
/** @type {Object.<string, (string|angular.Injectable|!angular.$q.Promise)>} */ | ||
angular.$routeProvider.Params.resolve; | ||
@@ -1984,0 +1981,0 @@ |
@@ -55,3 +55,3 @@ /* | ||
* @constructor | ||
* @extends angular.$q.Promise.<!angular.$http.Response.<T>> | ||
* @extends {angular.$q.Promise.<!angular.$http.Response.<T>>} | ||
* @template T | ||
@@ -64,6 +64,7 @@ */ | ||
* (RESULT|IThenable.<RESULT>|Thenable))=} opt_onFulfilled | ||
* @param {?(function(*): *)=} opt_onRejected | ||
* @param {?(function(*): *)=} opt_notifyCallback | ||
* @param {?(function(?): ?)=} opt_onRejected | ||
* @param {?(function(?): ?)=} opt_notifyCallback | ||
* @return {!angular.$http.HttpPromise.<RESULT>} | ||
* @template RESULT | ||
* @override | ||
*/ | ||
@@ -76,2 +77,3 @@ angular.$http.HttpPromise.prototype.then = | ||
* @return {!angular.$http.HttpPromise.<T>} | ||
* @override | ||
*/ | ||
@@ -83,2 +85,3 @@ angular.$http.HttpPromise.prototype.catch = function(callback) {}; | ||
* @return {!angular.$http.HttpPromise.<T>} | ||
* @override | ||
*/ | ||
@@ -85,0 +88,0 @@ angular.$http.HttpPromise.prototype.finally = function(callback) {}; |
@@ -43,8 +43,23 @@ /* | ||
/** | ||
* @param {?(function(T): | ||
* (RESULT|IThenable.<RESULT>|Thenable))=} opt_onFulfilled | ||
* @param {?(function(*): *)=} opt_onRejected | ||
* @param {?(function(*): *)=} opt_notifyCallback | ||
* @return {!angular.$q.Promise.<RESULT>} | ||
* @template RESULT | ||
* Apply Type Transformation Language to allow more accurate templated type | ||
* definition. | ||
* This is copied from <code>goog.Thenable.prototype.then</code>, with the only | ||
* difference being the raw type as angular.$q.Promise instead of goog.Promise. | ||
* | ||
* @param {?(function(this:THIS, T): VALUE)=} opt_onFulfilled | ||
* @param {?(function(?): ?)=} opt_onRejected | ||
* @param {?(function(?): ?)=} opt_notifyCallback | ||
* @return {RESULT} | ||
* @template THIS | ||
* @template VALUE | ||
* @template RESULT := type('angular.$q.Promise', | ||
* cond(isUnknown(VALUE), unknown(), | ||
* mapunion(VALUE, (V) => | ||
* cond(isTemplatized(V) && sub(rawTypeOf(V), 'IThenable'), | ||
* templateTypeOf(V, 0), | ||
* cond(sub(V, 'angular.$q.Promise'), | ||
* unknown(), | ||
* V))))) | ||
* =: | ||
* @override | ||
*/ | ||
@@ -85,4 +100,34 @@ angular.$q.Promise.prototype.then = | ||
/** | ||
* @param {!Object.<!angular.$q.Promise>|!Array.<!angular.$q.Promise>} promises | ||
* @return {!angular.$q.Promise.<!Object|!Array>} | ||
* $q.all has different output type based on the input type. | ||
* When {@code promise} is an array, the output is an array too: for each item n | ||
* in the input array, the corresponding item in the returned array would be the | ||
* the same type of n, or if n is a templated $q.Promise, the type of the | ||
* resolve value. | ||
* When {@code promise} is in form of a record, the output should be also be a | ||
* record with the same properties. | ||
* When {@code promise} is other forms, the returned type is an Object. | ||
* | ||
* @param {VALUE} promises | ||
* @template VALUE | ||
* @return {ALLTYPE} | ||
* @template ALLTYPE := type('angular.$q.Promise', | ||
* cond(isUnknown(VALUE), unknown(), | ||
* mapunion(VALUE, (x) => | ||
* cond(sub(x, 'Array'), | ||
* cond(isTemplatized(x) && sub(rawTypeOf(x), 'IThenable'), | ||
* type('Array', templateTypeOf(x, 0)), | ||
* 'Array' | ||
* ), | ||
* cond(isRecord(x), | ||
* maprecord(record(x), (kx, vx) => record({[kx]: | ||
* cond(isTemplatized(vx) && sub(rawTypeOf(vx), 'IThenable'), | ||
* templateTypeOf(vx, 0), | ||
* cond(sub(vx, 'angular.$q.Promise'), | ||
* unknown(), | ||
* vx | ||
* ) | ||
* ) | ||
* })), | ||
* 'Object'))))) | ||
* =: | ||
*/ | ||
@@ -89,0 +134,0 @@ angular.$q.prototype.all = function(promises) {}; |
@@ -22,3 +22,2 @@ /* | ||
* TODO: Remaining Services: | ||
* $compileProvider | ||
* $cookies | ||
@@ -204,3 +203,3 @@ * $cookieStore | ||
* @param {Array.<string>=} opt_requires | ||
* @param {(Function|Array.<string|Function>)=} opt_configFn | ||
* @param {angular.Injectable=} opt_configFn | ||
* @return {!angular.Module} | ||
@@ -368,3 +367,3 @@ */ | ||
* !angular.JQLite=, !angular.Attributes=, Function=)|undefined), | ||
* controller: (Function|Array.<string|Function>|string|undefined), | ||
* controller: (angular.Injectable|string|undefined), | ||
* controllerAs: (string|undefined), | ||
@@ -475,2 +474,7 @@ * link: (function( | ||
/** | ||
* @typedef {(Function|Array.<string|Function>)} | ||
*/ | ||
angular.Injectable; | ||
/** | ||
* @typedef {{ | ||
@@ -749,23 +753,21 @@ * addClass: function(string): !angular.JQLite, | ||
* function(string, function(...*):angular.Animation):!angular.Module, | ||
* config: function((Function|Array.<string|Function>)):!angular.Module, | ||
* config: function(angular.Injectable):!angular.Module, | ||
* constant: function(string, *):angular.Module, | ||
* controller: | ||
* (function(string, (Function|Array.<string|Function>)):!angular.Module| | ||
* function(!Object.<(Function|Array.<string|Function>)>): | ||
* !angular.Module), | ||
* (function(string, angular.Injectable):!angular.Module| | ||
* function(!Object.<angular.Injectable>):!angular.Module), | ||
* directive: | ||
* (function(string, (Function|Array.<string|Function>)):!angular.Module| | ||
* function(!Object.<(Function|Array.<string|Function>)>): | ||
* !angular.Module), | ||
* (function(string, angular.Injectable):!angular.Module| | ||
* function(!Object.<angular.Injectable>):!angular.Module), | ||
* factory: | ||
* function(string, (Function|Array.<string|Function>)):!angular.Module, | ||
* function(string, angular.Injectable):!angular.Module, | ||
* filter: | ||
* function(string, (Function|Array.<string|Function>)):!angular.Module, | ||
* function(string, angular.Injectable):!angular.Module, | ||
* name: string, | ||
* provider: function(string, | ||
* (Object|Function|Array.<string|Function>)):!angular.Module, | ||
* (angular.$provide.Provider|angular.Injectable)): | ||
* !angular.Module, | ||
* requires: !Array.<string>, | ||
* run: function((Function|Array.<string|Function>)):!angular.Module, | ||
* service: | ||
* function(string, (Function|Array.<string|Function>)):!angular.Module, | ||
* run: function(angular.Injectable):!angular.Module, | ||
* service: function(string, angular.Injectable):!angular.Module, | ||
* value: function(string, *):!angular.Module | ||
@@ -783,3 +785,3 @@ * }} | ||
/** | ||
* @param {Function|Array.<string|Function>} configFn | ||
* @param {angular.Injectable} configFn | ||
* @return {!angular.Module} | ||
@@ -798,3 +800,3 @@ */ | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} constructor | ||
* @param {angular.Injectable} constructor | ||
* @return {!angular.Module} | ||
@@ -806,3 +808,3 @@ */ | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} directiveFactory | ||
* @param {angular.Injectable} directiveFactory | ||
* @return {!angular.Module} | ||
@@ -814,3 +816,3 @@ */ | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} providerFunction | ||
* @param {angular.Injectable} providerFunction | ||
* @return {!angular.Module} | ||
@@ -822,3 +824,3 @@ */ | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} filterFactory | ||
* @param {angular.Injectable} filterFactory | ||
* @return {!angular.Module} | ||
@@ -830,3 +832,3 @@ */ | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} providerType | ||
* @param {angular.$provide.Provider|angular.Injectable} providerType | ||
* @return {!angular.Module} | ||
@@ -837,3 +839,3 @@ */ | ||
/** | ||
* @param {Function|Array.<string|Function>} initializationFn | ||
* @param {angular.Injectable} initializationFn | ||
* @return {!angular.Module} | ||
@@ -845,3 +847,3 @@ */ | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} constructor | ||
* @param {angular.Injectable} constructor | ||
* @return {!angular.Module} | ||
@@ -904,2 +906,7 @@ */ | ||
/** | ||
* @param {(string|function(!angular.Scope))=} opt_exp | ||
*/ | ||
angular.Scope.$applyAsync = function(opt_exp) {}; | ||
/** | ||
* @param {string} name | ||
@@ -1174,2 +1181,15 @@ * @param {...*} args | ||
// TODO(martinprobst): remaining $compileProvider methods. | ||
/** | ||
* @constructor | ||
*/ | ||
angular.$compileProvider; | ||
/** | ||
* @param {boolean=} opt_enabled | ||
* @return {boolean|!angular.$compileProvider} | ||
*/ | ||
angular.$compileProvider.prototype.debugInfoEnabled = function(opt_enabled) {}; | ||
/****************************************************************************** | ||
@@ -1249,3 +1269,3 @@ * $cacheFactory Service | ||
* @typedef {{ | ||
* register: function((string|Object), (Function|Array)), | ||
* register: function((string|Object), angular.Injectable=), | ||
* allowGlobals: function() | ||
@@ -1291,5 +1311,3 @@ * }} | ||
/** | ||
* @typedef {{ | ||
* register: function(string, (!Function|!Array.<string|!Function>)) | ||
* }} | ||
* @typedef {{register: function(string, angular.Injectable)}} | ||
*/ | ||
@@ -1300,3 +1318,3 @@ angular.$filterProvider; | ||
* @param {string} name | ||
* @param {(!Function|!Array.<string|!Function>)} fn | ||
* @param {angular.Injectable} fn | ||
*/ | ||
@@ -1319,2 +1337,4 @@ angular.$filterProvider.register = function(name, fn) {}; | ||
* jsonp: function(string, angular.$http.Config=):!angular.$http.HttpPromise, | ||
* patch: function(string, *, angular.$http.Config=): | ||
* !angular.$http.HttpPromise, | ||
* post: function(string, *, angular.$http.Config=): | ||
@@ -1393,2 +1413,10 @@ * !angular.$http.HttpPromise, | ||
*/ | ||
angular.$http.patch = function(url, data, opt_config) {}; | ||
/** | ||
* @param {string} url | ||
* @param {*} data | ||
* @param {angular.$http.Config=} opt_config | ||
* @return {!angular.$http.HttpPromise} | ||
*/ | ||
angular.$http.post = function(url, data, opt_config) {}; | ||
@@ -1458,8 +1486,7 @@ | ||
* @typedef {{ | ||
* annotate: function((Function|Array.<string|Function>)):Array.<string>, | ||
* annotate: function(angular.Injectable):Array.<string>, | ||
* get: function(string):(?), | ||
* has: function(string):boolean, | ||
* instantiate: function(Function, Object=):Object, | ||
* invoke: function( | ||
* (!Function|Array.<string|!Function>), Object=, Object=):(?) | ||
* invoke: function(angular.Injectable, Object=, Object=):(?) | ||
* }} | ||
@@ -1470,3 +1497,3 @@ */ | ||
/** | ||
* @param {(!Function|Array.<string|!Function>)} fn | ||
* @param {angular.Injectable} fn | ||
* @return {Array.<string>} | ||
@@ -1496,3 +1523,3 @@ */ | ||
/** | ||
* @param {(!Function|Array.<string|!Function>)} fn | ||
* @param {angular.Injectable} fn | ||
* @param {Object=} opt_self | ||
@@ -1950,6 +1977,7 @@ * @param {Object=} opt_locals | ||
* constant: function(string, *): Object, | ||
* decorator: function(string, (!Function|Array.<string|!Function>)), | ||
* factory: function(string, (!Function|Array.<string|!Function>)): Object, | ||
* provider: function(string, (!Function|Array.<string|!Function>)): Object, | ||
* service: function(string, (!Function|Array.<string|!Function>)): Object, | ||
* decorator: function(string, angular.Injectable), | ||
* factory: function(string, angular.Injectable): Object, | ||
* provider: function(string, ( | ||
* angular.Injectable|angular.$provide.Provider)): Object, | ||
* service: function(string, angular.Injectable): Object, | ||
* value: function(string, *): Object | ||
@@ -1960,2 +1988,8 @@ * }} | ||
/** @typedef {{$get: (!Array.<string|!Function>|!Function)}} */ | ||
angular.$provide.Provider; | ||
/** @typedef {(!Array.<string|!Function>|!Function)} */ | ||
angular.$provide.Provider.$get; | ||
/** | ||
@@ -1970,3 +2004,3 @@ * @param {string} name | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} decorator | ||
* @param {angular.Injectable} decorator | ||
*/ | ||
@@ -1977,3 +2011,3 @@ angular.$provide.decorator = function(name, decorator) {}; | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} providerFunction | ||
* @param {angular.Injectable} providerFunction | ||
* @return {Object} | ||
@@ -1985,3 +2019,3 @@ */ | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} providerType | ||
* @param {angular.Injectable|angular.$provide.Provider} providerType | ||
* @return {Object} | ||
@@ -1993,3 +2027,3 @@ */ | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} constructor | ||
* @param {angular.Injectable} constructor | ||
* @return {Object} | ||
@@ -2013,2 +2047,3 @@ */ | ||
* reload: function(), | ||
* updateParams: function(!Object<string,string>), | ||
* current: !angular.$route.Route, | ||
@@ -2109,3 +2144,3 @@ * routes: Array.<!angular.$route.Route> | ||
* @typedef {{ | ||
* controller: (Function|Array.<string|Function>|string|undefined), | ||
* controller: (angular.Injectable|string|undefined), | ||
* controllerAs: (string|undefined), | ||
@@ -2115,3 +2150,3 @@ * template: (string|undefined), | ||
* resolve: (Object.<string, ( | ||
* string|Function|Array.<string|Function>|!angular.$q.Promise | ||
* string|angular.Injectable|!angular.$q.Promise | ||
* )>|undefined), | ||
@@ -2125,3 +2160,3 @@ * redirectTo: ( | ||
/** @type {Function|Array.<string|Function>|string} */ | ||
/** @type {angular.Injectable|string} */ | ||
angular.$routeProvider.Params.controller; | ||
@@ -2138,8 +2173,3 @@ | ||
/** | ||
* @type { | ||
* Object.<string, ( | ||
* string|Function|Array.<string|Function>|!angular.$q.Promise | ||
* )>} | ||
*/ | ||
/** @type {Object.<string, (string|angular.Injectable|!angular.$q.Promise)>} */ | ||
angular.$routeProvider.Params.resolve; | ||
@@ -2146,0 +2176,0 @@ |
@@ -55,3 +55,3 @@ /* | ||
* @constructor | ||
* @extends angular.$q.Promise.<!angular.$http.Response.<T>> | ||
* @extends {angular.$q.Promise.<!angular.$http.Response.<T>>} | ||
* @template T | ||
@@ -68,2 +68,3 @@ */ | ||
* @template RESULT | ||
* @override | ||
*/ | ||
@@ -76,2 +77,3 @@ angular.$http.HttpPromise.prototype.then = | ||
* @return {!angular.$http.HttpPromise.<T>} | ||
* @override | ||
*/ | ||
@@ -83,2 +85,3 @@ angular.$http.HttpPromise.prototype.catch = function(callback) {}; | ||
* @return {!angular.$http.HttpPromise.<T>} | ||
* @override | ||
*/ | ||
@@ -85,0 +88,0 @@ angular.$http.HttpPromise.prototype.finally = function(callback) {}; |
@@ -18,3 +18,3 @@ /* | ||
/** | ||
* @fileoverview Externs for the $q service in Angular 1.3 | ||
* @fileoverview Externs for the $q service in Angular 1.4 | ||
* NOTE: Due to a JS compiler bug, any use of a templated class must occur after | ||
@@ -34,3 +34,3 @@ * the class is defined. Please be careful with the ordering of the classes and | ||
*/ | ||
angular.$q; | ||
angular.$q = function() {}; | ||
@@ -40,13 +40,26 @@ /** | ||
* @template T | ||
* @extends {IThenable.<T>} | ||
*/ | ||
angular.$q.Promise; | ||
angular.$q.Promise = function() {}; | ||
/** | ||
* @param {?(function(T): | ||
* (RESULT|IThenable.<RESULT>|Thenable))=} opt_onFulfilled | ||
* @param {?(function(*): *)=} opt_onRejected | ||
* @param {?(function(*): *)=} opt_notifyCallback | ||
* @return {!angular.$q.Promise.<RESULT>} | ||
* @template RESULT | ||
* Apply Type Transformation Language to allow more accurate templated type | ||
* definition. | ||
* This is copied from <code>goog.Thenable.prototype.then</code>, with the only | ||
* difference being the raw type as angular.$q.Promise instead of goog.Promise. | ||
* | ||
* @param {?(function(this:THIS, T): VALUE)=} opt_onFulfilled | ||
* @param {?(function(?): ?)=} opt_onRejected | ||
* @param {?(function(?): ?)=} opt_notifyCallback | ||
* @return {RESULT} | ||
* @template THIS | ||
* @template VALUE | ||
* @template RESULT := type('angular.$q.Promise', | ||
* cond(isUnknown(VALUE), unknown(), | ||
* mapunion(VALUE, (V) => | ||
* cond(isTemplatized(V) && sub(rawTypeOf(V), 'IThenable'), | ||
* templateTypeOf(V, 0), | ||
* cond(sub(V, 'angular.$q.Promise'), | ||
* unknown(), | ||
* V))))) | ||
* =: | ||
*/ | ||
@@ -87,4 +100,34 @@ angular.$q.Promise.prototype.then = | ||
/** | ||
* @param {!Object.<!angular.$q.Promise>|!Array.<!angular.$q.Promise>} promises | ||
* @return {!angular.$q.Promise.<!Object|!Array>} | ||
* $q.all has different output type based on the input type. | ||
* When {@code promise} is an array, the output is an array too: for each item n | ||
* in the input array, the corresponding item in the returned array would be the | ||
* the same type of n, or if n is a templated $q.Promise, the type of the | ||
* resolve value. | ||
* When {@code promise} is in form of a record, the output should be also be a | ||
* record with the same properties. | ||
* When {@code promise} is other forms, the returned type is an Object. | ||
* | ||
* @param {VALUE} promises | ||
* @template VALUE | ||
* @return {ALLTYPE} | ||
* @template ALLTYPE := type('angular.$q.Promise', | ||
* cond(isUnknown(VALUE), unknown(), | ||
* mapunion(VALUE, (x) => | ||
* cond(sub(x, 'Array'), | ||
* cond(isTemplatized(x) && sub(rawTypeOf(x), 'IThenable'), | ||
* type('Array', templateTypeOf(x, 0)), | ||
* 'Array' | ||
* ), | ||
* cond(isRecord(x), | ||
* maprecord(record(x), (kx, vx) => record({[kx]: | ||
* cond(isTemplatized(vx) && sub(rawTypeOf(vx), 'IThenable'), | ||
* templateTypeOf(vx, 0), | ||
* cond(sub(vx, 'angular.$q.Promise'), | ||
* unknown(), | ||
* vx | ||
* ) | ||
* ) | ||
* })), | ||
* 'Object'))))) | ||
* =: | ||
*/ | ||
@@ -91,0 +134,0 @@ angular.$q.prototype.all = function(promises) {}; |
@@ -22,3 +22,2 @@ /* | ||
* TODO: Remaining Services: | ||
* $compileProvider | ||
* $cookies | ||
@@ -56,3 +55,2 @@ * $cookieStore | ||
/** | ||
* @type {Object} | ||
* @const | ||
@@ -205,3 +203,3 @@ */ | ||
* @param {Array.<string>=} opt_requires | ||
* @param {(Function|Array.<string|Function>)=} opt_configFn | ||
* @param {angular.Injectable=} opt_configFn | ||
* @return {!angular.Module} | ||
@@ -227,16 +225,5 @@ */ | ||
/** | ||
* @typedef {{ | ||
* enter: (function(!angular.JQLite, !Function): (!Function|undefined)| | ||
* undefined), | ||
* leave: (function(!angular.JQLite, !Function): (!Function|undefined)| | ||
* undefined), | ||
* move: (function(!angular.JQLite, !Function): (!Function|undefined)| | ||
* undefined), | ||
* addClass: (function(!angular.JQLite, !Function): (!Function|undefined)| | ||
* undefined), | ||
* removeClass: (function(!angular.JQLite, !Function): (!Function|undefined)| | ||
* undefined) | ||
* }} | ||
* @constructor | ||
*/ | ||
angular.Animation; | ||
angular.Animation = function() {}; | ||
@@ -248,3 +235,3 @@ /** | ||
*/ | ||
angular.Animation.enter = function(element, done) {}; | ||
angular.Animation.prototype.enter = function(element, done) {}; | ||
@@ -256,3 +243,3 @@ /** | ||
*/ | ||
angular.Animation.leave = function(element, done) {}; | ||
angular.Animation.prototype.leave = function(element, done) {}; | ||
@@ -264,3 +251,3 @@ /** | ||
*/ | ||
angular.Animation.move = function(element, done) {}; | ||
angular.Animation.prototype.move = function(element, done) {}; | ||
@@ -272,3 +259,3 @@ /** | ||
*/ | ||
angular.Animation.addClass = function(element, done) {}; | ||
angular.Animation.prototype.addClass = function(element, done) {}; | ||
@@ -280,13 +267,8 @@ /** | ||
*/ | ||
angular.Animation.removeClass = function(element, done) {}; | ||
angular.Animation.prototype.removeClass = function(element, done) {}; | ||
/** | ||
* @typedef {{ | ||
* $attr: Object.<string,string>, | ||
* $normalize: function(string): string, | ||
* $observe: function(string, function(*)): function(), | ||
* $set: function(string, ?(string|boolean), boolean=, string=) | ||
* }} | ||
* @constructor | ||
*/ | ||
angular.Attributes; | ||
angular.Attributes = function() {}; | ||
@@ -296,3 +278,3 @@ /** | ||
*/ | ||
angular.Attributes.$attr; | ||
angular.Attributes.prototype.$attr; | ||
@@ -302,3 +284,3 @@ /** | ||
*/ | ||
angular.Attributes.$addClass = function(classVal) {}; | ||
angular.Attributes.prototype.$addClass = function(classVal) {}; | ||
@@ -308,3 +290,3 @@ /** | ||
*/ | ||
angular.Attributes.$removeClass = function(classVal) {}; | ||
angular.Attributes.prototype.$removeClass = function(classVal) {}; | ||
@@ -315,3 +297,3 @@ /** | ||
*/ | ||
angular.Attributes.$updateClass = function(newClasses, oldClasses) {}; | ||
angular.Attributes.prototype.$updateClass = function(newClasses, oldClasses) {}; | ||
@@ -322,3 +304,3 @@ /** | ||
*/ | ||
angular.Attributes.$normalize = function(name) {}; | ||
angular.Attributes.prototype.$normalize = function(name) {}; | ||
@@ -330,3 +312,3 @@ /** | ||
*/ | ||
angular.Attributes.$observe = function(key, fn) {}; | ||
angular.Attributes.prototype.$observe = function(key, fn) {}; | ||
@@ -339,3 +321,4 @@ /** | ||
*/ | ||
angular.Attributes.$set = function(key, value, opt_writeAttr, opt_attrName) {}; | ||
angular.Attributes.prototype.$set = | ||
function(key, value, opt_writeAttr, opt_attrName) {}; | ||
@@ -379,6 +362,6 @@ /** | ||
* @typedef {{ | ||
* bindToController: (boolean|undefined), | ||
* bindToController: (boolean|!Object<string, string>|undefined), | ||
* compile: (function( | ||
* !angular.JQLite=, !angular.Attributes=, Function=)|undefined), | ||
* controller: (Function|Array.<string|Function>|string|undefined), | ||
* controller: (angular.Injectable|string|undefined), | ||
* controllerAs: (string|undefined), | ||
@@ -410,133 +393,16 @@ * link: (function( | ||
/** | ||
* @param {!angular.JQLite=} tElement | ||
* @param {!angular.Attributes=} tAttrs | ||
* @param {Function=} transclude | ||
* @return {Function|angular.LinkingFunctions|undefined} | ||
* @typedef {(Function|Array.<string|Function>)} | ||
*/ | ||
angular.Directive.compile = function(tElement, tAttrs, transclude) {}; | ||
angular.Injectable; | ||
angular.Directive.controller = function() {}; | ||
/** | ||
* @type {string|undefined} | ||
* @constructor | ||
*/ | ||
angular.Directive.controllerAs; | ||
angular.JQLite = function() {}; | ||
/** | ||
* @type {( | ||
* function(!angular.Scope=, !angular.JQLite=, !angular.Attributes=, | ||
* (!Object|!Array.<!Object>)=)| | ||
* !angular.LinkingFunctions| | ||
* undefined | ||
* )} | ||
*/ | ||
angular.Directive.link; | ||
/** | ||
* @type {(string|undefined)} | ||
*/ | ||
angular.Directive.name; | ||
/** | ||
* @type {(number|undefined)} | ||
*/ | ||
angular.Directive.priority; | ||
/** | ||
* @type {(boolean|undefined)} | ||
*/ | ||
angular.Directive.replace; | ||
/** | ||
* @type {(string|Array.<string>|undefined)} | ||
*/ | ||
angular.Directive.require; | ||
/** | ||
* @type {(string|undefined)} | ||
*/ | ||
angular.Directive.restrict; | ||
/** | ||
* @type {(boolean|Object.<string, string>|undefined)} | ||
*/ | ||
angular.Directive.scope; | ||
/** | ||
* @type {( | ||
* string| | ||
* function(!angular.JQLite=,!angular.Attributes=): string| | ||
* undefined | ||
* )} | ||
*/ | ||
angular.Directive.template; | ||
/** | ||
* @type {(string|function(!angular.JQLite=, !angular.Attributes=)|undefined)} | ||
*/ | ||
angular.Directive.templateUrl; | ||
/** | ||
* @type {(boolean|undefined)} | ||
*/ | ||
angular.Directive.terminal; | ||
/** | ||
* @type {(boolean|string|undefined)} | ||
*/ | ||
angular.Directive.transclude; | ||
/** | ||
* @typedef {{ | ||
* addClass: function(string): !angular.JQLite, | ||
* after: function(JQLiteSelector): !angular.JQLite, | ||
* append: function(JQLiteSelector): !angular.JQLite, | ||
* attr: function(string, (string|boolean)=): | ||
* (!angular.JQLite|string|boolean), | ||
* bind: function(string, Function): !angular.JQLite, | ||
* children: function(): !angular.JQLite, | ||
* clone: function(): !angular.JQLite, | ||
* contents: function(): !angular.JQLite, | ||
* controller: function(string=): Object, | ||
* css: function((string|!Object), string=): (!angular.JQLite|string), | ||
* data: function(string=, *=): *, | ||
* detach: function(): !angular.JQLite, | ||
* empty: function(): !angular.JQLite, | ||
* eq: function(number): !angular.JQLite, | ||
* find: function(string): !angular.JQLite, | ||
* hasClass: function(string): boolean, | ||
* html: function(string=): (!angular.JQLite|string), | ||
* inheritedData: function(string=, *=): *, | ||
* injector: function(): !angular.$injector, | ||
* isolateScope: function(): (!angular.Scope|undefined), | ||
* length: number, | ||
* next: function(): !angular.JQLite, | ||
* on: function(string, Function): !angular.JQLite, | ||
* off: function(string=, Function=): !angular.JQLite, | ||
* one: function(string, Function): !angular.JQLite, | ||
* parent: function(): !angular.JQLite, | ||
* prepend: function(JQLiteSelector): !angular.JQLite, | ||
* prop: function(string, *=): *, | ||
* ready: function(Function): !angular.JQLite, | ||
* remove: function(): !angular.JQLite, | ||
* removeAttr: function(string): !angular.JQLite, | ||
* removeClass: function(string): !angular.JQLite, | ||
* removeData: function(string=): !angular.JQLite, | ||
* replaceWith: function(JQLiteSelector): !angular.JQLite, | ||
* scope: function(): !angular.Scope, | ||
* text: function(string=): (!angular.JQLite|string), | ||
* toggleClass: function(string, boolean=): !angular.JQLite, | ||
* triggerHandler: function(string, *=): !angular.JQLite, | ||
* unbind: function(string=, Function=): !angular.JQLite, | ||
* val: function(string=): (!angular.JQLite|string), | ||
* wrap: function(JQLiteSelector): !angular.JQLite | ||
* }} | ||
*/ | ||
angular.JQLite; | ||
/** | ||
* @param {string} name | ||
* @return {!angular.JQLite} | ||
*/ | ||
angular.JQLite.addClass = function(name) {}; | ||
angular.JQLite.prototype.addClass = function(name) {}; | ||
@@ -547,3 +413,3 @@ /** | ||
*/ | ||
angular.JQLite.after = function(element) {}; | ||
angular.JQLite.prototype.after = function(element) {}; | ||
@@ -554,3 +420,3 @@ /** | ||
*/ | ||
angular.JQLite.append = function(element) {}; | ||
angular.JQLite.prototype.append = function(element) {}; | ||
@@ -562,3 +428,3 @@ /** | ||
*/ | ||
angular.JQLite.attr = function(name, opt_value) {}; | ||
angular.JQLite.prototype.attr = function(name, opt_value) {}; | ||
@@ -570,3 +436,3 @@ /** | ||
*/ | ||
angular.JQLite.bind = function(type, fn) {}; | ||
angular.JQLite.prototype.bind = function(type, fn) {}; | ||
@@ -576,3 +442,3 @@ /** | ||
*/ | ||
angular.JQLite.children = function() {}; | ||
angular.JQLite.prototype.children = function() {}; | ||
@@ -582,3 +448,3 @@ /** | ||
*/ | ||
angular.JQLite.clone = function() {}; | ||
angular.JQLite.prototype.clone = function() {}; | ||
@@ -588,3 +454,3 @@ /** | ||
*/ | ||
angular.JQLite.contents = function() {}; | ||
angular.JQLite.prototype.contents = function() {}; | ||
@@ -595,3 +461,3 @@ /** | ||
*/ | ||
angular.JQLite.controller = function(opt_name) {}; | ||
angular.JQLite.prototype.controller = function(opt_name) {}; | ||
@@ -603,3 +469,3 @@ /** | ||
*/ | ||
angular.JQLite.css = function(nameOrObject, opt_value) {}; | ||
angular.JQLite.prototype.css = function(nameOrObject, opt_value) {}; | ||
@@ -611,9 +477,19 @@ /** | ||
*/ | ||
angular.JQLite.data = function(opt_key, opt_value) {}; | ||
angular.JQLite.prototype.data = function(opt_key, opt_value) {}; | ||
/** | ||
* @return {!angular.JQLite} | ||
*/ | ||
angular.JQLite.prototype.detach = function() {}; | ||
/** | ||
* @return {!angular.JQLite} | ||
*/ | ||
angular.JQLite.prototype.empty = function() {}; | ||
/** | ||
* @param {number} index | ||
* @return {!angular.JQLite} | ||
*/ | ||
angular.JQLite.eq = function(index) {}; | ||
angular.JQLite.prototype.eq = function(index) {}; | ||
@@ -624,3 +500,3 @@ /** | ||
*/ | ||
angular.JQLite.find = function(selector) {}; | ||
angular.JQLite.prototype.find = function(selector) {}; | ||
@@ -631,3 +507,3 @@ /** | ||
*/ | ||
angular.JQLite.hasClass = function(name) {}; | ||
angular.JQLite.prototype.hasClass = function(name) {}; | ||
@@ -638,3 +514,3 @@ /** | ||
*/ | ||
angular.JQLite.html = function(opt_value) {}; | ||
angular.JQLite.prototype.html = function(opt_value) {}; | ||
@@ -646,3 +522,3 @@ /** | ||
*/ | ||
angular.JQLite.inheritedData = function(opt_key, opt_value) {}; | ||
angular.JQLite.prototype.inheritedData = function(opt_key, opt_value) {}; | ||
@@ -652,6 +528,6 @@ /** | ||
*/ | ||
angular.JQLite.injector = function() {}; | ||
angular.JQLite.prototype.injector = function() {}; | ||
/** @type {number} */ | ||
angular.JQLite.length; | ||
angular.JQLite.prototype.length; | ||
@@ -661,3 +537,3 @@ /** | ||
*/ | ||
angular.JQLite.next = function() {}; | ||
angular.JQLite.prototype.next = function() {}; | ||
@@ -669,5 +545,12 @@ /** | ||
*/ | ||
angular.JQLite.on = function(type, fn) {}; | ||
angular.JQLite.prototype.on = function(type, fn) {}; | ||
/** | ||
* @param {string} events | ||
* @param {Object|function(Event)} dataOrHandler | ||
* @param {function(Event)=} opt_handler | ||
*/ | ||
angular.JQLite.prototype.one = function(events, dataOrHandler, opt_handler) {}; | ||
/** | ||
* @param {string=} opt_type | ||
@@ -677,3 +560,3 @@ * @param {Function=} opt_fn | ||
*/ | ||
angular.JQLite.off = function(opt_type, opt_fn) {}; | ||
angular.JQLite.prototype.off = function(opt_type, opt_fn) {}; | ||
@@ -683,3 +566,3 @@ /** | ||
*/ | ||
angular.JQLite.parent = function() {}; | ||
angular.JQLite.prototype.parent = function() {}; | ||
@@ -690,3 +573,3 @@ /** | ||
*/ | ||
angular.JQLite.prepend = function(element) {}; | ||
angular.JQLite.prototype.prepend = function(element) {}; | ||
@@ -698,3 +581,3 @@ /** | ||
*/ | ||
angular.JQLite.prop = function(name, opt_value) {}; | ||
angular.JQLite.prototype.prop = function(name, opt_value) {}; | ||
@@ -705,3 +588,3 @@ /** | ||
*/ | ||
angular.JQLite.ready = function(fn) {}; | ||
angular.JQLite.prototype.ready = function(fn) {}; | ||
@@ -711,3 +594,3 @@ /** | ||
*/ | ||
angular.JQLite.remove = function() {}; | ||
angular.JQLite.prototype.remove = function() {}; | ||
@@ -718,3 +601,3 @@ /** | ||
*/ | ||
angular.JQLite.removeAttr = function(name) {}; | ||
angular.JQLite.prototype.removeAttr = function(name) {}; | ||
@@ -725,3 +608,3 @@ /** | ||
*/ | ||
angular.JQLite.removeClass = function(name) {}; | ||
angular.JQLite.prototype.removeClass = function(name) {}; | ||
@@ -732,3 +615,3 @@ /** | ||
*/ | ||
angular.JQLite.removeData = function(opt_name) {}; | ||
angular.JQLite.prototype.removeData = function(opt_name) {}; | ||
@@ -739,3 +622,3 @@ /** | ||
*/ | ||
angular.JQLite.replaceWith = function(element) {}; | ||
angular.JQLite.prototype.replaceWith = function(element) {}; | ||
@@ -745,3 +628,3 @@ /** | ||
*/ | ||
angular.JQLite.scope = function() {}; | ||
angular.JQLite.prototype.scope = function() {}; | ||
@@ -752,3 +635,3 @@ /** | ||
*/ | ||
angular.JQLite.text = function(opt_value) {}; | ||
angular.JQLite.prototype.text = function(opt_value) {}; | ||
@@ -760,3 +643,3 @@ /** | ||
*/ | ||
angular.JQLite.toggleClass = function(name, opt_condition) {}; | ||
angular.JQLite.prototype.toggleClass = function(name, opt_condition) {}; | ||
@@ -768,3 +651,3 @@ /** | ||
*/ | ||
angular.JQLite.triggerHandler = function(type, opt_value) {}; | ||
angular.JQLite.prototype.triggerHandler = function(type, opt_value) {}; | ||
@@ -776,3 +659,3 @@ /** | ||
*/ | ||
angular.JQLite.unbind = function(opt_type, opt_fn) {}; | ||
angular.JQLite.prototype.unbind = function(opt_type, opt_fn) {}; | ||
@@ -783,3 +666,3 @@ /** | ||
*/ | ||
angular.JQLite.val = function(opt_value) {}; | ||
angular.JQLite.prototype.val = function(opt_value) {}; | ||
@@ -790,33 +673,6 @@ /** | ||
*/ | ||
angular.JQLite.wrap = function(element) {}; | ||
angular.JQLite.prototype.wrap = function(element) {}; | ||
/** | ||
* @typedef {{ | ||
* animation: | ||
* function(string, function(...*):angular.Animation):!angular.Module, | ||
* config: function((Function|Array.<string|Function>)):!angular.Module, | ||
* constant: function(string, *):angular.Module, | ||
* controller: | ||
* (function(string, (Function|Array.<string|Function>)):!angular.Module| | ||
* function(!Object.<(Function|Array.<string|Function>)>): | ||
* !angular.Module), | ||
* directive: | ||
* (function(string, (Function|Array.<string|Function>)):!angular.Module| | ||
* function(!Object.<(Function|Array.<string|Function>)>): | ||
* !angular.Module), | ||
* factory: | ||
* function(string, (Function|Array.<string|Function>)):!angular.Module, | ||
* filter: | ||
* function(string, (Function|Array.<string|Function>)):!angular.Module, | ||
* name: string, | ||
* provider: function(string, | ||
* (Object|Function|Array.<string|Function>)):!angular.Module, | ||
* requires: !Array.<string>, | ||
* run: function((Function|Array.<string|Function>)):!angular.Module, | ||
* service: | ||
* function(string, (Function|Array.<string|Function>)):!angular.Module, | ||
* value: function(string, *):!angular.Module | ||
* }} | ||
*/ | ||
angular.Module; | ||
/** @constructor */ | ||
angular.Module = function() {}; | ||
@@ -827,9 +683,9 @@ /** | ||
*/ | ||
angular.Module.animation = function(name, animationFactory) {}; | ||
angular.Module.prototype.animation = function(name, animationFactory) {}; | ||
/** | ||
* @param {Function|Array.<string|Function>} configFn | ||
* @param {angular.Injectable} configFn | ||
* @return {!angular.Module} | ||
*/ | ||
angular.Module.config = function(configFn) {}; | ||
angular.Module.prototype.config = function(configFn) {}; | ||
@@ -841,51 +697,51 @@ /** | ||
*/ | ||
angular.Module.constant = function(name, object) {}; | ||
angular.Module.prototype.constant = function(name, object) {}; | ||
/** | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} constructor | ||
* @param {angular.Injectable} constructor | ||
* @return {!angular.Module} | ||
*/ | ||
angular.Module.controller = function(name, constructor) {}; | ||
angular.Module.prototype.controller = function(name, constructor) {}; | ||
/** | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} directiveFactory | ||
* @param {angular.Injectable} directiveFactory | ||
* @return {!angular.Module} | ||
*/ | ||
angular.Module.directive = function(name, directiveFactory) {}; | ||
angular.Module.prototype.directive = function(name, directiveFactory) {}; | ||
/** | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} providerFunction | ||
* @param {angular.Injectable} providerFunction | ||
* @return {!angular.Module} | ||
*/ | ||
angular.Module.factory = function(name, providerFunction) {}; | ||
angular.Module.prototype.factory = function(name, providerFunction) {}; | ||
/** | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} filterFactory | ||
* @param {angular.Injectable} filterFactory | ||
* @return {!angular.Module} | ||
*/ | ||
angular.Module.filter = function(name, filterFactory) {}; | ||
angular.Module.prototype.filter = function(name, filterFactory) {}; | ||
/** | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} providerType | ||
* @param {angular.$provide.Provider|angular.Injectable} providerType | ||
* @return {!angular.Module} | ||
*/ | ||
angular.Module.provider = function(name, providerType) {}; | ||
angular.Module.prototype.provider = function(name, providerType) {}; | ||
/** | ||
* @param {Function|Array.<string|Function>} initializationFn | ||
* @param {angular.Injectable} initializationFn | ||
* @return {!angular.Module} | ||
*/ | ||
angular.Module.run = function(initializationFn) {}; | ||
angular.Module.prototype.run = function(initializationFn) {}; | ||
/** | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} constructor | ||
* @param {angular.Injectable} constructor | ||
* @return {!angular.Module} | ||
*/ | ||
angular.Module.service = function(name, constructor) {}; | ||
angular.Module.prototype.service = function(name, constructor) {}; | ||
@@ -897,3 +753,3 @@ /** | ||
*/ | ||
angular.Module.value = function(name, object) {}; | ||
angular.Module.prototype.value = function(name, object) {}; | ||
@@ -903,3 +759,3 @@ /** | ||
*/ | ||
angular.Module.name = ''; | ||
angular.Module.prototype.name = ''; | ||
@@ -909,32 +765,9 @@ /** | ||
*/ | ||
angular.Module.requires; | ||
angular.Module.prototype.requires; | ||
/** | ||
* @typedef {{ | ||
* $$phase: string, | ||
* $apply: function((string|function(!angular.Scope))=):*, | ||
* $applyAsync: function((string|function(!angular.Scope))=), | ||
* $broadcast: function(string, ...*), | ||
* $destroy: function(), | ||
* $digest: function(), | ||
* $emit: function(string, ...*), | ||
* $eval: function((string|function(!angular.Scope))=, Object=):*, | ||
* $evalAsync: function((string|function())=), | ||
* $id: string, | ||
* $new: function(boolean=):!angular.Scope, | ||
* $on: function(string, function(!angular.Scope.Event, ...?)):function(), | ||
* $parent: !angular.Scope, | ||
* $root: !angular.Scope, | ||
* $watch: function( | ||
* (string|Function), (string|Function)=, boolean=):function(), | ||
* $watchCollection: function( | ||
* (string|Function), (string|Function)=):function(), | ||
* $watchGroup: function( | ||
* Array.<string|Function>, (string|Function)=):function() | ||
* }} | ||
*/ | ||
/** @constructor */ | ||
angular.Scope; | ||
/** @type {string} */ | ||
angular.Scope.$$phase; | ||
angular.Scope.prototype.$$phase; | ||
@@ -945,13 +778,18 @@ /** | ||
*/ | ||
angular.Scope.$apply = function(opt_exp) {}; | ||
angular.Scope.prototype.$apply = function(opt_exp) {}; | ||
/** | ||
* @param {(string|function(!angular.Scope))=} opt_exp | ||
*/ | ||
angular.Scope.prototype.$applyAsync = function(opt_exp) {}; | ||
/** | ||
* @param {string} name | ||
* @param {...*} args | ||
*/ | ||
angular.Scope.$broadcast = function(name, args) {}; | ||
angular.Scope.prototype.$broadcast = function(name, args) {}; | ||
angular.Scope.$destroy = function() {}; | ||
angular.Scope.prototype.$destroy = function() {}; | ||
angular.Scope.$digest = function() {}; | ||
angular.Scope.prototype.$digest = function() {}; | ||
@@ -962,10 +800,10 @@ /** | ||
*/ | ||
angular.Scope.$emit = function(name, args) {}; | ||
angular.Scope.prototype.$emit = function(name, args) {}; | ||
/** | ||
* @param {(string|function())=} opt_exp | ||
* @param {(string|function(angular.Scope):?)=} opt_exp | ||
* @param {Object=} opt_locals | ||
* @return {*} | ||
*/ | ||
angular.Scope.$eval = function(opt_exp, opt_locals) {}; | ||
angular.Scope.prototype.$eval = function(opt_exp, opt_locals) {}; | ||
@@ -975,6 +813,6 @@ /** | ||
*/ | ||
angular.Scope.$evalAsync = function(opt_exp) {}; | ||
angular.Scope.prototype.$evalAsync = function(opt_exp) {}; | ||
/** @type {string} */ | ||
angular.Scope.$id; | ||
angular.Scope.prototype.$id; | ||
@@ -985,3 +823,3 @@ /** | ||
*/ | ||
angular.Scope.$new = function(opt_isolate) {}; | ||
angular.Scope.prototype.$new = function(opt_isolate) {}; | ||
@@ -993,9 +831,9 @@ /** | ||
*/ | ||
angular.Scope.$on = function(name, listener) {}; | ||
angular.Scope.prototype.$on = function(name, listener) {}; | ||
/** @type {!angular.Scope} */ | ||
angular.Scope.$parent; | ||
angular.Scope.prototype.$parent; | ||
/** @type {!angular.Scope} */ | ||
angular.Scope.$root; | ||
angular.Scope.prototype.$root; | ||
@@ -1008,3 +846,4 @@ /** | ||
*/ | ||
angular.Scope.$watch = function(exp, opt_listener, opt_objectEquality) {}; | ||
angular.Scope.prototype.$watch = | ||
function(exp, opt_listener, opt_objectEquality) {}; | ||
@@ -1016,5 +855,12 @@ /** | ||
*/ | ||
angular.Scope.$watchCollection = function(exp, opt_listener) {}; | ||
angular.Scope.prototype.$watchCollection = function(exp, opt_listener) {}; | ||
/** | ||
* @param {Array<string|!Function>} exps | ||
* @param {(string|Function)=} opt_listener | ||
* @return {function()} | ||
*/ | ||
angular.Scope.prototype.$watchGroup = function(exps, opt_listener) {}; | ||
/** | ||
* @typedef {{ | ||
@@ -1123,4 +969,25 @@ * currentScope: !angular.Scope, | ||
/** | ||
* @param {string} event | ||
* @param {JQLiteSelector} container | ||
* @param {function(JQLiteSelector, string)} callback | ||
*/ | ||
angular.$animate.prototype.on = function(event, container, callback) {}; | ||
/** | ||
* @param {string} event | ||
* @param {JQLiteSelector=} opt_container | ||
* @param {function(JQLiteSelector, string)=} opt_callback | ||
*/ | ||
angular.$animate.prototype.off = function(event, opt_container, opt_callback) { | ||
}; | ||
/** | ||
* @param {JQLiteSelector} element | ||
* @param {JQLiteSelector} parentElement | ||
*/ | ||
angular.$animate.prototype.pin = function(element, parentElement) {}; | ||
/** | ||
* @param {JQLiteSelector} element | ||
* @param {JQLiteSelector} parentElement | ||
* @param {JQLiteSelector} afterElement | ||
@@ -1179,7 +1046,7 @@ * @param {Object.<string, *>=} opt_options | ||
/** | ||
* @param {(boolean|JQLiteSelector)=} opt_elementOrValue | ||
* @param {boolean=} opt_value | ||
* @param {JQLiteSelector=} opt_element | ||
* @return {boolean} | ||
*/ | ||
angular.$animate.prototype.enabled = function(opt_value, opt_element) {}; | ||
angular.$animate.prototype.enabled = function(opt_elementOrValue, opt_value) {}; | ||
@@ -1226,2 +1093,15 @@ /** | ||
// TODO(martinprobst): remaining $compileProvider methods. | ||
/** | ||
* @constructor | ||
*/ | ||
angular.$compileProvider; | ||
/** | ||
* @param {boolean=} opt_enabled | ||
* @return {boolean|!angular.$compileProvider} | ||
*/ | ||
angular.$compileProvider.prototype.debugInfoEnabled = function(opt_enabled) {}; | ||
/****************************************************************************** | ||
@@ -1301,3 +1181,3 @@ * $cacheFactory Service | ||
* @typedef {{ | ||
* register: function((string|Object), (Function|Array)), | ||
* register: function((string|Object), angular.Injectable=), | ||
* allowGlobals: function() | ||
@@ -1343,5 +1223,3 @@ * }} | ||
/** | ||
* @typedef {{ | ||
* register: function(string, (!Function|!Array.<string|!Function>)) | ||
* }} | ||
* @typedef {{register: function(string, angular.Injectable)}} | ||
*/ | ||
@@ -1352,3 +1230,3 @@ angular.$filterProvider; | ||
* @param {string} name | ||
* @param {(!Function|!Array.<string|!Function>)} fn | ||
* @param {angular.Injectable} fn | ||
*/ | ||
@@ -1371,2 +1249,4 @@ angular.$filterProvider.register = function(name, fn) {}; | ||
* jsonp: function(string, angular.$http.Config=):!angular.$http.HttpPromise, | ||
* patch: function(string, *, angular.$http.Config=): | ||
* !angular.$http.HttpPromise, | ||
* post: function(string, *, angular.$http.Config=): | ||
@@ -1445,2 +1325,10 @@ * !angular.$http.HttpPromise, | ||
*/ | ||
angular.$http.patch = function(url, data, opt_config) {}; | ||
/** | ||
* @param {string} url | ||
* @param {*} data | ||
* @param {angular.$http.Config=} opt_config | ||
* @return {!angular.$http.HttpPromise} | ||
*/ | ||
angular.$http.post = function(url, data, opt_config) {}; | ||
@@ -1480,9 +1368,5 @@ | ||
/** | ||
* @typedef {{ | ||
* defaults: !angular.$http.Config, | ||
* interceptors: !Array.<string|function(...*): !angular.$http.Interceptor>, | ||
* useApplyAsync: function(boolean=):(boolean|!angular.$HttpProvider) | ||
* }} | ||
* @constructor | ||
*/ | ||
angular.$HttpProvider; | ||
angular.$HttpProvider = function() {}; | ||
@@ -1492,3 +1376,3 @@ /** | ||
*/ | ||
angular.$HttpProvider.defaults; | ||
angular.$HttpProvider.prototype.defaults; | ||
@@ -1498,3 +1382,3 @@ /** | ||
*/ | ||
angular.$HttpProvider.interceptors; | ||
angular.$HttpProvider.prototype.interceptors; | ||
@@ -1505,3 +1389,3 @@ /** | ||
*/ | ||
angular.$HttpProvider.useApplyAsync = function(opt_value) {}; | ||
angular.$HttpProvider.prototype.useApplyAsync = function(opt_value) {}; | ||
@@ -1513,18 +1397,11 @@ /****************************************************************************** | ||
/** | ||
* @typedef {{ | ||
* annotate: function((Function|Array.<string|Function>)):Array.<string>, | ||
* get: function(string):(?), | ||
* has: function(string):boolean, | ||
* instantiate: function(Function, Object=):Object, | ||
* invoke: function( | ||
* (!Function|Array.<string|!Function>), Object=, Object=):(?) | ||
* }} | ||
* @constructor | ||
*/ | ||
angular.$injector; | ||
angular.$injector = function() {}; | ||
/** | ||
* @param {(!Function|Array.<string|!Function>)} fn | ||
* @param {angular.Injectable} fn | ||
* @return {Array.<string>} | ||
*/ | ||
angular.$injector.annotate = function(fn) {}; | ||
angular.$injector.prototype.annotate = function(fn) {}; | ||
@@ -1535,3 +1412,3 @@ /** | ||
*/ | ||
angular.$injector.get = function(name) {}; | ||
angular.$injector.prototype.get = function(name) {}; | ||
@@ -1542,3 +1419,3 @@ /** | ||
*/ | ||
angular.$injector.has = function(name) {}; | ||
angular.$injector.prototype.has = function(name) {}; | ||
@@ -1550,6 +1427,6 @@ /** | ||
*/ | ||
angular.$injector.instantiate = function(type, opt_locals) {}; | ||
angular.$injector.prototype.instantiate = function(type, opt_locals) {}; | ||
/** | ||
* @param {(!Function|Array.<string|!Function>)} fn | ||
* @param {angular.Injectable} fn | ||
* @param {Object=} opt_self | ||
@@ -1559,3 +1436,3 @@ * @param {Object=} opt_locals | ||
*/ | ||
angular.$injector.invoke = function(fn, opt_self, opt_locals) {}; | ||
angular.$injector.prototype.invoke = function(fn, opt_self, opt_locals) {}; | ||
@@ -1567,14 +1444,11 @@ /****************************************************************************** | ||
/** | ||
* @typedef {{ | ||
* startSymbol: function(string), | ||
* endSymbol: function(string) | ||
* }} | ||
* @constructor | ||
*/ | ||
angular.$interpolateProvider; | ||
angular.$interpolateProvider = function() {}; | ||
/** @type {function(string)} */ | ||
angular.$interpolateProvider.startSymbol; | ||
angular.$interpolateProvider.prototype.startSymbol; | ||
/** @type {function(string)} */ | ||
angular.$interpolateProvider.endSymbol; | ||
angular.$interpolateProvider.prototype.endSymbol; | ||
@@ -1613,16 +1487,5 @@ /****************************************************************************** | ||
/** | ||
* @typedef {{ | ||
* absUrl: function():string, | ||
* hash: function(string=):string, | ||
* host: function():string, | ||
* path: function(string=):(string|!angular.$location), | ||
* port: function():number, | ||
* protocol: function():string, | ||
* replace: function(), | ||
* search: function((string|Object.<string, string>)=, | ||
* ?(string|Array.<string>|boolean|number)=): (!Object|angular.$location), | ||
* url: function(string=):string | ||
* }} | ||
* @constructor | ||
*/ | ||
angular.$location; | ||
angular.$location = function() {}; | ||
@@ -1632,3 +1495,3 @@ /** | ||
*/ | ||
angular.$location.absUrl = function() {}; | ||
angular.$location.prototype.absUrl = function() {}; | ||
@@ -1639,3 +1502,3 @@ /** | ||
*/ | ||
angular.$location.hash = function(opt_hash) {}; | ||
angular.$location.prototype.hash = function(opt_hash) {}; | ||
@@ -1645,3 +1508,3 @@ /** | ||
*/ | ||
angular.$location.host = function() {}; | ||
angular.$location.prototype.host = function() {}; | ||
@@ -1652,3 +1515,3 @@ /** | ||
*/ | ||
angular.$location.path = function(opt_path) {}; | ||
angular.$location.prototype.path = function(opt_path) {}; | ||
@@ -1658,3 +1521,3 @@ /** | ||
*/ | ||
angular.$location.port = function() {}; | ||
angular.$location.prototype.port = function() {}; | ||
@@ -1664,3 +1527,3 @@ /** | ||
*/ | ||
angular.$location.protocol = function() {}; | ||
angular.$location.prototype.protocol = function() {}; | ||
@@ -1670,3 +1533,3 @@ /** | ||
*/ | ||
angular.$location.replace = function() {}; | ||
angular.$location.prototype.replace = function() {}; | ||
@@ -1676,5 +1539,5 @@ /** | ||
* @param {?(string|Array.<string>|boolean|number)=} opt_paramValue | ||
* @return {(!Object|angular.$location)} | ||
* @return {(!Object|!angular.$location)} | ||
*/ | ||
angular.$location.search = function(opt_search, opt_paramValue) {}; | ||
angular.$location.prototype.search = function(opt_search, opt_paramValue) {}; | ||
@@ -1685,3 +1548,3 @@ /** | ||
*/ | ||
angular.$location.url = function(opt_url) {}; | ||
angular.$location.prototype.url = function(opt_url) {}; | ||
@@ -1701,12 +1564,5 @@ /****************************************************************************** | ||
/** | ||
* @typedef {{ | ||
* hashPrefix: | ||
* function(string=): (string|!angular.$locationProvider), | ||
* html5Mode: | ||
* function( | ||
* (boolean|angular.$locationProvider.html5ModeConfig)=): | ||
* (boolean|!angular.$locationProvider) | ||
* }} | ||
* @constructor | ||
*/ | ||
angular.$locationProvider; | ||
angular.$locationProvider = function() {}; | ||
@@ -1717,3 +1573,3 @@ /** | ||
*/ | ||
angular.$locationProvider.hashPrefix = function(opt_prefix) {}; | ||
angular.$locationProvider.prototype.hashPrefix = function(opt_prefix) {}; | ||
@@ -1724,3 +1580,3 @@ /** | ||
*/ | ||
angular.$locationProvider.html5Mode = function(opt_mode) {}; | ||
angular.$locationProvider.prototype.html5Mode = function(opt_mode) {}; | ||
@@ -1732,10 +1588,5 @@ /****************************************************************************** | ||
/** | ||
* @typedef {{ | ||
* error: function(...*), | ||
* info: function(...*), | ||
* log: function(...*), | ||
* warn: function(...*) | ||
* }} | ||
* @constructor | ||
*/ | ||
angular.$log; | ||
angular.$log = function() {}; | ||
@@ -1745,3 +1596,3 @@ /** | ||
*/ | ||
angular.$log.error = function(var_args) {}; | ||
angular.$log.prototype.debug = function(var_args) {}; | ||
@@ -1751,3 +1602,3 @@ /** | ||
*/ | ||
angular.$log.info = function(var_args) {}; | ||
angular.$log.prototype.error = function(var_args) {}; | ||
@@ -1757,3 +1608,3 @@ /** | ||
*/ | ||
angular.$log.log = function(var_args) {}; | ||
angular.$log.prototype.info = function(var_args) {}; | ||
@@ -1763,4 +1614,9 @@ /** | ||
*/ | ||
angular.$log.warn = function(var_args) {}; | ||
angular.$log.prototype.log = function(var_args) {}; | ||
/** | ||
* @param {...*} var_args | ||
*/ | ||
angular.$log.prototype.warn = function(var_args) {}; | ||
/****************************************************************************** | ||
@@ -2025,13 +1881,12 @@ * NgModelController | ||
/** | ||
* @typedef {{ | ||
* constant: function(string, *): Object, | ||
* decorator: function(string, (!Function|Array.<string|!Function>)), | ||
* factory: function(string, (!Function|Array.<string|!Function>)): Object, | ||
* provider: function(string, (!Function|Array.<string|!Function>)): Object, | ||
* service: function(string, (!Function|Array.<string|!Function>)): Object, | ||
* value: function(string, *): Object | ||
* }} | ||
* @constructor | ||
*/ | ||
angular.$provide; | ||
angular.$provide = function() {}; | ||
/** @typedef {{$get: (!Array.<string|!Function>|!Function)}} */ | ||
angular.$provide.Provider; | ||
/** @typedef {(!Array.<string|!Function>|!Function)} */ | ||
angular.$provide.Provider.$get; | ||
/** | ||
@@ -2042,30 +1897,31 @@ * @param {string} name | ||
*/ | ||
angular.$provide.constant = function(name, object) {}; | ||
angular.$provide.prototype.constant = function(name, object) {}; | ||
/** | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} decorator | ||
* @param {angular.Injectable} decorator | ||
*/ | ||
angular.$provide.decorator = function(name, decorator) {}; | ||
angular.$provide.prototype.decorator = function(name, decorator) {}; | ||
/** | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} providerFunction | ||
* @param {angular.Injectable} providerFunction | ||
* @return {Object} | ||
*/ | ||
angular.$provide.factory = function(name, providerFunction) {}; | ||
angular.$provide.prototype.factory = function(name, providerFunction) {}; | ||
/** | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} providerType | ||
* @param {angular.Injectable|angular.$provide.Provider} | ||
* providerType | ||
* @return {Object} | ||
*/ | ||
angular.$provide.provider = function(name, providerType) {}; | ||
angular.$provide.prototype.provider = function(name, providerType) {}; | ||
/** | ||
* @param {string} name | ||
* @param {Function|Array.<string|Function>} constructor | ||
* @param {angular.Injectable} constructor | ||
* @return {Object} | ||
*/ | ||
angular.$provide.service = function(name, constructor) {}; | ||
angular.$provide.prototype.service = function(name, constructor) {}; | ||
@@ -2077,3 +1933,3 @@ /** | ||
*/ | ||
angular.$provide.value = function(name, object) {}; | ||
angular.$provide.prototype.value = function(name, object) {}; | ||
@@ -2084,13 +1940,7 @@ /****************************************************************************** | ||
/** | ||
* @typedef {{ | ||
* reload: function(), | ||
* current: !angular.$route.Route, | ||
* routes: Array.<!angular.$route.Route> | ||
* }} | ||
*/ | ||
angular.$route; | ||
/** @constructor */ | ||
angular.$route = function() {}; | ||
/** @type {function()} */ | ||
angular.$route.reload = function() {}; | ||
angular.$route.prototype.reload = function() {}; | ||
@@ -2100,43 +1950,33 @@ /** | ||
*/ | ||
angular.$route.updateParams = function(object) {}; | ||
angular.$route.prototype.updateParams = function(object) {}; | ||
/** @type {!angular.$route.Route} */ | ||
angular.$route.current; | ||
angular.$route.prototype.current; | ||
/** @type {Array.<!angular.$route.Route>} */ | ||
angular.$route.routes; | ||
angular.$route.prototype.routes; | ||
/** | ||
* @typedef {{ | ||
* $route: angular.$routeProvider.Params, | ||
* locals: Object.<string, *>, | ||
* params: Object.<string, string>, | ||
* pathParams: Object.<string, string>, | ||
* scope: Object.<string, *>, | ||
* originalPath: (string|undefined), | ||
* regexp: (RegExp|undefined) | ||
* }} | ||
*/ | ||
angular.$route.Route; | ||
/** @constructor */ | ||
angular.$route.Route = function() {}; | ||
/** @type {angular.$routeProvider.Params} */ | ||
angular.$route.Route.$route; | ||
angular.$route.Route.prototype.$route; | ||
/** @type {Object.<string, *>} */ | ||
angular.$route.Route.locals; | ||
angular.$route.Route.prototype.locals; | ||
/** @type {Object.<string, string>} */ | ||
angular.$route.Route.params; | ||
angular.$route.Route.prototype.params; | ||
/** @type {Object.<string, string>} */ | ||
angular.$route.Route.pathParams; | ||
angular.$route.Route.prototype.pathParams; | ||
/** @type {Object.<string, *>} */ | ||
angular.$route.Route.scope; | ||
angular.$route.Route.prototype.scope; | ||
/** @type {string|undefined} */ | ||
angular.$route.Route.originalPath; | ||
angular.$route.Route.prototype.originalPath; | ||
/** @type {RegExp|undefined} */ | ||
angular.$route.Route.regexp; | ||
angular.$route.Route.prototype.regexp; | ||
@@ -2184,3 +2024,3 @@ /****************************************************************************** | ||
* @typedef {{ | ||
* controller: (Function|Array.<string|Function>|string|undefined), | ||
* controller: (angular.Injectable|string|undefined), | ||
* controllerAs: (string|undefined), | ||
@@ -2190,3 +2030,3 @@ * template: (string|undefined), | ||
* resolve: (Object.<string, ( | ||
* string|Function|Array.<string|Function>|!angular.$q.Promise | ||
* string|angular.Injectable|!angular.$q.Promise | ||
* )>|undefined), | ||
@@ -2200,3 +2040,3 @@ * redirectTo: ( | ||
/** @type {Function|Array.<string|Function>|string} */ | ||
/** @type {angular.Injectable|string} */ | ||
angular.$routeProvider.Params.controller; | ||
@@ -2213,8 +2053,3 @@ | ||
/** | ||
* @type { | ||
* Object.<string, ( | ||
* string|Function|Array.<string|Function>|!angular.$q.Promise | ||
* )>} | ||
*/ | ||
/** @type {Object.<string, (string|angular.Injectable|!angular.$q.Promise)>} */ | ||
angular.$routeProvider.Params.resolve; | ||
@@ -2221,0 +2056,0 @@ |
@@ -25,3 +25,3 @@ /* | ||
/** | ||
* @const {Object} | ||
* @const | ||
*/ | ||
@@ -188,2 +188,9 @@ var md = {}; | ||
/** | ||
* @param {string} text | ||
* @return {angular.$q.Promise} | ||
*/ | ||
md.$toast.prototype.showSimple = function(text) {}; | ||
/** | ||
* @type {function(*=)} | ||
@@ -206,3 +213,3 @@ */ | ||
* position: function(string):md.$toast.preset, | ||
* hidedelay: function(number):md.$toast.preset | ||
* hideDelay: function(number):md.$toast.preset | ||
* }} | ||
@@ -303,2 +310,8 @@ */ | ||
/** | ||
* @param {boolean=} isDark | ||
* @return {md.$mdThemingProvider.Theme} | ||
*/ | ||
md.$mdThemingProvider.Theme.prototype.dark = function(isDark) {}; | ||
/*****************************************************************************/ | ||
@@ -350,1 +363,7 @@ | ||
md.$mdIconProvider.prototype.defaultIconSize = function(iconSize) {}; | ||
/** | ||
* @param {string} name | ||
* @return {md.$mdIconProvider} | ||
*/ | ||
md.$mdIconProvider.prototype.defaultFontSet = function(name) {}; |
@@ -28,3 +28,3 @@ /* | ||
* @see http://developers.facebook.com/docs/reference/javascript/fb.getsession/ | ||
* @return {Object.<*,*>} | ||
* @return {Object<string,*>} | ||
*/ | ||
@@ -36,5 +36,5 @@ FB.getSession = function() { }; | ||
* @param {string} path | ||
* @param {(string|Object.<string, *>|function(Object.<*,*>))=} method | ||
* @param {(Object.<string, *>|function(Object.<*,*>))=} params | ||
* @param {function(Object.<*,*>)=} callback | ||
* @param {(string|Object<string, *>|function(Object<string,*>))=} method | ||
* @param {(Object<string, *>|function(Object<string,*>))=} params | ||
* @param {function(Object<string,*>)=} callback | ||
*/ | ||
@@ -45,3 +45,3 @@ FB.api = function(path, method, params, callback) { }; | ||
* @see http://developers.facebook.com/docs/reference/javascript/fb.getloginstatus/ | ||
* @param {function(Object.<*,*>)} callback | ||
* @param {function(Object<string,*>)} callback | ||
* @param {boolean=} force | ||
@@ -53,3 +53,3 @@ */ | ||
* @see http://developers.facebook.com/docs/reference/javascript/fb.init/ | ||
* @param {Object.<string,*>=} opt_opts | ||
* @param {Object<string,*>=} opt_opts | ||
*/ | ||
@@ -60,4 +60,4 @@ FB.init = function(opt_opts) {}; | ||
* @see http://developers.facebook.com/docs/reference/javascript/fb.login/ | ||
* @param {function(Object.<*,*>)} callback | ||
* @param {Object.<string,*>=} opt_opts | ||
* @param {function(Object<string,*>)} callback | ||
* @param {Object<string,*>=} opt_opts | ||
*/ | ||
@@ -68,3 +68,3 @@ FB.login = function(callback, opt_opts) {}; | ||
* @see http://developers.facebook.com/docs/reference/javascript/fb.logout/ | ||
* @param {function(Object.<*,*>)=} callback | ||
* @param {function(Object<string,*>)=} callback | ||
*/ | ||
@@ -75,4 +75,4 @@ FB.logout = function(callback) {}; | ||
* @see http://developers.facebook.com/docs/reference/javascript/fb.ui/ | ||
* @param {Object.<string, *>} params | ||
* @param {function(Object.<*,*>)=} callback | ||
* @param {Object<string, *>} params | ||
* @param {function(Object<string,*>)=} callback | ||
*/ | ||
@@ -87,3 +87,3 @@ FB.ui = function(params, callback) { }; | ||
* @param {string} eventName | ||
* @param {function(Object.<*,*>)} callback | ||
* @param {function(Object<string,*>)} callback | ||
*/ | ||
@@ -95,3 +95,3 @@ FB.Event.subscribe = function(eventName, callback) {}; | ||
* @param {string} eventName | ||
* @param {function(Object.<*,*>)} callback | ||
* @param {function(Object<string,*>)} callback | ||
*/ | ||
@@ -106,3 +106,3 @@ FB.Event.unsubscribe = function(eventName, callback) {}; | ||
* @param {Element=} node | ||
* @param {function(Object.<*,*>)=} callback | ||
* @param {function(Object<string,*>)=} callback | ||
*/ | ||
@@ -132,5 +132,5 @@ FB.XFBML.parse = function(node, callback) {}; | ||
* @see http://developers.facebook.com/docs/reference/javascript/fb.data.waiton/ | ||
* @param {Array.<*>} dependencies | ||
* @param {function(Object.<*,*>)} callback | ||
* @return {Object.<*,*>} | ||
* @param {Array<*>} dependencies | ||
* @param {function(Object<string,*>)} callback | ||
* @return {Object<string,*>} | ||
*/ | ||
@@ -151,3 +151,3 @@ FB.Data.waitOn = function(dependencies, callback) {}; | ||
* @see http://developers.facebook.com/docs/reference/javascript/fb.Canvas.setSize/ | ||
* @param {Object.<*, number>} params | ||
* @param {Object<string, number>} params | ||
*/ | ||
@@ -158,4 +158,4 @@ FB.Canvas.setSize = function(params) {}; | ||
* @see https://developers.facebook.com/docs/reference/javascript/FB.Canvas.getPageInfo/ | ||
* @param {function(Object.<*,*>)} callback | ||
* @param {function(Object<string,*>)} callback | ||
*/ | ||
FB.Canvas.getPageInfo = function(callback) {}; |
@@ -424,2 +424,3 @@ /* | ||
* @return {string} JSON representation. | ||
* @override | ||
*/ | ||
@@ -581,2 +582,12 @@ google.visualization.DataTable.prototype.toJSON = function() {}; | ||
/** | ||
* @param {!Object} eventSource | ||
* @param {string} eventName | ||
* @param {!Function} eventHandler | ||
* @return {!Object} | ||
*/ | ||
google.visualization.events.addOneTimeListener = | ||
function(eventSource, eventName, eventHandler) {}; | ||
/** | ||
* @param {Object} listener | ||
@@ -872,2 +883,3 @@ * @return {undefined} | ||
* @return {string} JSON representation. | ||
* @override | ||
*/ | ||
@@ -2014,2 +2026,3 @@ google.visualization.DataView.prototype.toJSON = function() {}; | ||
* @return {string} JSON representation. | ||
* @override | ||
*/ | ||
@@ -2185,2 +2198,3 @@ google.visualization.ChartWrapper.prototype.toJSON = function() {}; | ||
* @return {string} JSON representation. | ||
* @override | ||
*/ | ||
@@ -2187,0 +2201,0 @@ google.visualization.ControlWrapper.prototype.toJSON = function() {}; |
@@ -75,3 +75,7 @@ /* | ||
/** @param {!Date} date */ | ||
jasmine.Clock.prototype.mockDate = function(date) {}; | ||
/** @constructor */ | ||
@@ -154,2 +158,10 @@ jasmine.Matchers = function() {}; | ||
/** | ||
* @param {(!Function|string|!RegExp)} errorTypeOrMessageOrPattern | ||
* @param {(string|RegExp)=} opt_messageOrPattern | ||
*/ | ||
jasmine.Matchers.prototype.toThrowError = function( | ||
errorTypeOrMessageOrPattern, opt_messageOrPattern) {}; | ||
/** | ||
* @param {!Object} clazz | ||
@@ -156,0 +168,0 @@ * @return {!jasmine.Matchers} |
@@ -184,2 +184,9 @@ /* | ||
/** | ||
* @param {Object} value | ||
* @return {string} | ||
*/ | ||
jasmine.pp = function(value) {}; | ||
/** | ||
* @param {!Object} clazz | ||
@@ -186,0 +193,0 @@ * @return {!jasmine.Matchers} |
@@ -1364,2 +1364,3 @@ /* | ||
* @return {jQuery.jqXHR} | ||
* @override | ||
*/ | ||
@@ -1366,0 +1367,0 @@ jQuery.jqXHR.prototype.pipe = |
@@ -18,4 +18,8 @@ /* | ||
/** | ||
* @fileoverview Externs for jQuery 1.9.1 | ||
* @fileoverview Externs for jQuery 1.9 - 1.11 & 2.0 - 2.1 | ||
* | ||
* The jQuery API is identical for the 1.9.x+ and 2.0+ branches. In addition, | ||
* the API has not changed in releases since that date. These externs are valid | ||
* for all jQuery releases since 1.9 and 2.0. | ||
* | ||
* Note that some functions use different return types depending on the number | ||
@@ -32,3 +36,3 @@ * of parameters passed in. In these cases, you may need to annotate the type | ||
/** | ||
* @typedef {(Window|Document|Element|Array.<Element>|string|jQuery| | ||
* @typedef {(Window|Document|Element|Array<Element>|string|jQuery| | ||
* NodeList)} | ||
@@ -38,3 +42,3 @@ */ | ||
/** @typedef {function(...)|Array.<function(...)>} */ | ||
/** @typedef {function(...)|Array<function(...)>} */ | ||
var jQueryCallback; | ||
@@ -44,13 +48,13 @@ | ||
{ | ||
accepts: (Object.<string, string>|undefined), | ||
accepts: (Object<string, string>|undefined), | ||
async: (?boolean|undefined), | ||
beforeSend: (function(jQuery.jqXHR, (jQueryAjaxSettings|Object.<string, *>))|undefined), | ||
beforeSend: (function(jQuery.jqXHR, (jQueryAjaxSettings|Object<string, *>))|undefined), | ||
cache: (?boolean|undefined), | ||
complete: (function(jQuery.jqXHR, string)|undefined), | ||
contents: (Object.<string, RegExp>|undefined), | ||
contents: (Object<string, RegExp>|undefined), | ||
contentType: (?string|undefined), | ||
context: (Object.<?, ?>|jQueryAjaxSettings|undefined), | ||
converters: (Object.<string, Function>|undefined), | ||
context: (Object<?, ?>|jQueryAjaxSettings|undefined), | ||
converters: (Object<string, Function>|undefined), | ||
crossDomain: (?boolean|undefined), | ||
data: (Object.<?, ?>|?string|Array.<?>|undefined), | ||
data: (Object<?, ?>|?string|Array<?>|undefined), | ||
dataFilter: (function(string, string):?|undefined), | ||
@@ -60,3 +64,3 @@ dataType: (?string|undefined), | ||
global: (?boolean|undefined), | ||
headers: (Object.<?, ?>|undefined), | ||
headers: (Object<?, ?>|undefined), | ||
ifModified: (?boolean|undefined), | ||
@@ -70,3 +74,3 @@ isLocal: (?boolean|undefined), | ||
scriptCharset: (?string|undefined), | ||
statusCode: (Object.<number, function()>|undefined), | ||
statusCode: (Object<number, function()>|undefined), | ||
success: (function(?, string, jQuery.jqXHR)|undefined), | ||
@@ -79,3 +83,3 @@ timeout: (?number|undefined), | ||
xhr: (function():(ActiveXObject|XMLHttpRequest)|undefined), | ||
xhrFields: (Object.<?, ?>|undefined) | ||
xhrFields: (Object<?, ?>|undefined) | ||
}} */ | ||
@@ -86,6 +90,6 @@ var jQueryAjaxSettings; | ||
* @constructor | ||
* @param {(jQuerySelector|Element|Object|Array.<Element>|jQuery|string| | ||
* @param {(jQuerySelector|Element|Object|Array<Element>|jQuery|string| | ||
* function())=} arg1 | ||
* @param {(Element|jQuery|Document| | ||
* Object.<string, (string|function(!jQuery.event=))>)=} arg2 | ||
* Object<string, (string|function(!jQuery.Event))>)=} arg2 | ||
* @return {!jQuery} | ||
@@ -98,6 +102,6 @@ */ | ||
* @extends {jQuery} | ||
* @param {(jQuerySelector|Element|Object|Array.<Element>|jQuery|string| | ||
* @param {(jQuerySelector|Element|Object|Array<Element>|jQuery|string| | ||
* function())=} arg1 | ||
* @param {(Element|jQuery|Document| | ||
* Object.<string, (string|function(!jQuery.event=))>)=} arg2 | ||
* Object<string, (string|function(!jQuery.Event))>)=} arg2 | ||
* @return {!jQuery} | ||
@@ -108,3 +112,3 @@ */ | ||
/** | ||
* @param {(jQuerySelector|Array.<Element>|string|jQuery)} arg1 | ||
* @param {(jQuerySelector|Array<Element>|string|jQuery)} arg1 | ||
* @param {Element=} context | ||
@@ -117,3 +121,3 @@ * @return {!jQuery} | ||
/** | ||
* @param {(jQuerySelector|Array.<Element>|string|jQuery)=} arg1 | ||
* @param {(jQuerySelector|Array<Element>|string|jQuery)=} arg1 | ||
* @return {!jQuery} | ||
@@ -132,3 +136,3 @@ * @nosideeffects | ||
* @param {(string|Element|jQuery|function(number))} arg1 | ||
* @param {(string|Element|Array.<Element>|jQuery)=} content | ||
* @param {(string|Element|Array<Element>|jQuery)=} content | ||
* @return {!jQuery} | ||
@@ -139,5 +143,5 @@ */ | ||
/** | ||
* @param {(string|jQueryAjaxSettings|Object.<string,*>)} arg1 | ||
* @param {(jQueryAjaxSettings|Object.<string, *>)=} settings | ||
* @return {jQuery.jqXHR} | ||
* @param {(string|jQueryAjaxSettings|Object<string,*>)} arg1 | ||
* @param {(jQueryAjaxSettings|Object<string, *>)=} settings | ||
* @return {!jQuery.jqXHR} | ||
*/ | ||
@@ -147,5 +151,5 @@ jQuery.ajax = function(arg1, settings) {}; | ||
/** | ||
* @param {(string|jQueryAjaxSettings|Object.<string, *>)} arg1 | ||
* @param {(jQueryAjaxSettings|Object.<string, *>)=} settings | ||
* @return {jQuery.jqXHR} | ||
* @param {(string|jQueryAjaxSettings|Object<string, *>)} arg1 | ||
* @param {(jQueryAjaxSettings|Object<string, *>)=} settings | ||
* @return {!jQuery.jqXHR} | ||
*/ | ||
@@ -155,3 +159,3 @@ $.ajax = function(arg1, settings) {}; | ||
/** | ||
* @param {function(!jQuery.event,XMLHttpRequest,(jQueryAjaxSettings|Object.<string, *>))} handler | ||
* @param {function(!jQuery.Event,XMLHttpRequest,(jQueryAjaxSettings|Object<string, *>))} handler | ||
* @return {!jQuery} | ||
@@ -162,3 +166,3 @@ */ | ||
/** | ||
* @param {function(!jQuery.event,jQuery.jqXHR,(jQueryAjaxSettings|Object.<string, *>),*)} handler | ||
* @param {function(!jQuery.Event,jQuery.jqXHR,(jQueryAjaxSettings|Object<string, *>),*)} handler | ||
* @return {!jQuery} | ||
@@ -169,4 +173,4 @@ */ | ||
/** | ||
* @param {(string|function((jQueryAjaxSettings|Object.<string, *>),(jQueryAjaxSettings|Object.<string, *>),jQuery.jqXHR))} dataTypes | ||
* @param {function((jQueryAjaxSettings|Object.<string, *>),(jQueryAjaxSettings|Object.<string, *>),jQuery.jqXHR)=} handler | ||
* @param {(string|function((jQueryAjaxSettings|Object<string, *>),(jQueryAjaxSettings|Object<string, *>),jQuery.jqXHR))} dataTypes | ||
* @param {function((jQueryAjaxSettings|Object<string, *>),(jQueryAjaxSettings|Object<string, *>),jQuery.jqXHR)=} handler | ||
*/ | ||
@@ -176,4 +180,4 @@ jQuery.ajaxPrefilter = function(dataTypes, handler) {}; | ||
/** | ||
* @param {(string|function((jQueryAjaxSettings|Object.<string, *>),(jQueryAjaxSettings|Object.<string, *>),jQuery.jqXHR))} dataTypes | ||
* @param {function((jQueryAjaxSettings|Object.<string, *>),(jQueryAjaxSettings|Object.<string, *>),jQuery.jqXHR)=} handler | ||
* @param {(string|function((jQueryAjaxSettings|Object<string, *>),(jQueryAjaxSettings|Object<string, *>),jQuery.jqXHR))} dataTypes | ||
* @param {function((jQueryAjaxSettings|Object<string, *>),(jQueryAjaxSettings|Object<string, *>),jQuery.jqXHR)=} handler | ||
*/ | ||
@@ -183,3 +187,3 @@ $.ajaxPrefilter = function(dataTypes, handler) {}; | ||
/** | ||
* @param {function(!jQuery.event,jQuery.jqXHR,(jQueryAjaxSettings|Object.<string, *>))} handler | ||
* @param {function(!jQuery.Event,jQuery.jqXHR,(jQueryAjaxSettings|Object<string, *>))} handler | ||
* @return {!jQuery} | ||
@@ -189,12 +193,12 @@ */ | ||
/** @const {jQueryAjaxSettings|Object.<string, *>} */ | ||
/** @const {jQueryAjaxSettings|Object<string, *>} */ | ||
jQuery.ajaxSettings; | ||
/** @const {jQueryAjaxSettings|Object.<string, *>} */ | ||
/** @const {jQueryAjaxSettings|Object<string, *>} */ | ||
$.ajaxSettings = {}; | ||
/** @type {Object.<string, boolean>} */ | ||
/** @type {Object<string, boolean>} */ | ||
jQuery.ajaxSettings.flatOptions = {}; | ||
/** @type {Object.<string, boolean>} */ | ||
/** @type {Object<string, boolean>} */ | ||
$.ajaxSettings.flatOptions = {}; | ||
@@ -208,12 +212,12 @@ | ||
/** @type {Object.<string, string>} */ | ||
/** @type {Object<string, string>} */ | ||
jQuery.ajaxSettings.responseFields = {}; | ||
/** @type {Object.<string, string>} */ | ||
/** @type {Object<string, string>} */ | ||
$.ajaxSettings.responseFields = {}; | ||
/** @param {jQueryAjaxSettings|Object.<string, *>} options */ | ||
/** @param {jQueryAjaxSettings|Object<string, *>} options */ | ||
jQuery.ajaxSetup = function(options) {}; | ||
/** @param {jQueryAjaxSettings|Object.<string, *>} options */ | ||
/** @param {jQueryAjaxSettings|Object<string, *>} options */ | ||
$.ajaxSetup = function(options) {}; | ||
@@ -234,3 +238,3 @@ | ||
/** | ||
* @param {function(!jQuery.event,XMLHttpRequest,(jQueryAjaxSettings|Object.<string, *>), ?)} handler | ||
* @param {function(!jQuery.Event,XMLHttpRequest,(jQueryAjaxSettings|Object<string, *>), ?)} handler | ||
* @return {!jQuery} | ||
@@ -248,4 +252,4 @@ */ | ||
/** | ||
* @param {Object.<string,*>} properties | ||
* @param {(string|number|function()|Object.<string,*>)=} arg2 | ||
* @param {Object<string,*>} properties | ||
* @param {(string|number|function()|Object<string,*>)=} arg2 | ||
* @param {(string|function())=} easing | ||
@@ -258,4 +262,4 @@ * @param {function()=} complete | ||
/** | ||
* @param {(string|Element|Array.<Element>|jQuery|function(number,string))} arg1 | ||
* @param {...(string|Element|Array.<Element>|jQuery)} content | ||
* @param {(string|Element|Array<Element>|jQuery|function(number,string))} arg1 | ||
* @param {...(string|Element|Array<Element>|jQuery)} content | ||
* @return {!jQuery} | ||
@@ -272,3 +276,3 @@ */ | ||
/** | ||
* @param {(string|Object.<string,*>)} arg1 | ||
* @param {(string|Object<string,*>)} arg1 | ||
* @param {(string|number|boolean|function(number,string))=} arg2 | ||
@@ -281,3 +285,3 @@ * @return {(string|!jQuery)} | ||
* @param {(string|Element|jQuery|function())} arg1 | ||
* @param {(string|Element|Array.<Element>|jQuery)=} content | ||
* @param {(string|Element|Array<Element>|jQuery)=} content | ||
* @return {!jQuery} | ||
@@ -288,5 +292,5 @@ */ | ||
/** | ||
* @param {(string|Object.<string, function(!jQuery.event=)>)} arg1 | ||
* @param {(Object.<string, *>|function(!jQuery.event=)|boolean)=} eventData | ||
* @param {(function(!jQuery.event=)|boolean)=} arg3 | ||
* @param {(string|Object<string, function(!jQuery.Event)>)} arg1 | ||
* @param {(Object<string, *>|function(!jQuery.Event)|boolean)=} eventData | ||
* @param {(function(!jQuery.Event)|boolean)=} arg3 | ||
* @return {!jQuery} | ||
@@ -297,4 +301,4 @@ */ | ||
/** | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(function(!jQuery.Event)|Object<string, *>)=} arg1 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -312,3 +316,3 @@ */ | ||
* @param {string=} flags | ||
* @return {jQuery.callbacks} | ||
* @return {!jQuery.callbacks} | ||
*/ | ||
@@ -352,4 +356,4 @@ jQuery.Callbacks = function (flags) {}; | ||
/** | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(function(!jQuery.Event)|Object<string, *>)=} arg1 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -373,4 +377,4 @@ */ | ||
/** | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(function(!jQuery.Event)|Object<string, *>)=} arg1 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -420,3 +424,3 @@ */ | ||
/** | ||
* @param {(string|Object.<string,*>)} arg1 | ||
* @param {(string|Object<string,*>)} arg1 | ||
* @param {(string|number|function(number,*))=} arg2 | ||
@@ -427,6 +431,6 @@ * @return {(string|!jQuery)} | ||
/** @type {Object.<string, *>} */ | ||
/** @type {Object<string, *>} */ | ||
jQuery.cssHooks; | ||
/** @type {Object.<string, *>} */ | ||
/** @type {Object<string, *>} */ | ||
$.cssHooks; | ||
@@ -443,3 +447,3 @@ | ||
/** | ||
* @param {(string|Object.<string, *>)=} arg1 | ||
* @param {(string|Object<string, *>)=} arg1 | ||
* @param {*=} value | ||
@@ -459,4 +463,4 @@ * @return {*} | ||
/** | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(function(!jQuery.Event)|Object<string, *>)=} arg1 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -478,3 +482,3 @@ */ | ||
* @param {function()=} opt_fn | ||
* @return {jQuery.Deferred} | ||
* @return {!jQuery.Deferred} | ||
*/ | ||
@@ -495,3 +499,3 @@ jQuery.Deferred = function(opt_fn) {}; | ||
* @param {function()=} opt_fn | ||
* @return {jQuery.deferred} | ||
* @return {!jQuery.deferred} | ||
*/ | ||
@@ -504,3 +508,3 @@ $.Deferred = function(opt_fn) {}; | ||
* @param {jQueryCallback=} alwaysCallbacks2 | ||
* @return {jQuery.deferred} | ||
* @return {!jQuery.deferred} | ||
*/ | ||
@@ -514,3 +518,3 @@ jQuery.deferred.prototype.always | ||
* @param {jQueryCallback=} doneCallbacks2 | ||
* @return {jQuery.deferred} | ||
* @return {!jQuery.deferred} | ||
*/ | ||
@@ -523,3 +527,3 @@ jQuery.deferred.prototype.done = function(doneCallbacks, doneCallbacks2) {}; | ||
* @param {jQueryCallback=} failCallbacks2 | ||
* @return {jQuery.deferred} | ||
* @return {!jQuery.deferred} | ||
*/ | ||
@@ -530,3 +534,3 @@ jQuery.deferred.prototype.fail = function(failCallbacks, failCallbacks2) {}; | ||
* @param {...*} var_args | ||
* @return {jQuery.deferred} | ||
* @return {!jQuery.deferred} | ||
*/ | ||
@@ -538,3 +542,3 @@ jQuery.deferred.prototype.notify = function(var_args) {}; | ||
* @param {...*} var_args | ||
* @return {jQuery.deferred} | ||
* @return {!jQuery.deferred} | ||
*/ | ||
@@ -549,3 +553,3 @@ jQuery.deferred.prototype.notifyWith = function(context, var_args) {}; | ||
* @param {function()=} progressFilter | ||
* @return {jQuery.Promise} | ||
* @return {!jQuery.Promise} | ||
*/ | ||
@@ -557,3 +561,3 @@ jQuery.deferred.prototype.pipe = | ||
* @param {jQueryCallback} progressCallbacks | ||
* @return {jQuery.deferred} | ||
* @return {!jQuery.deferred} | ||
*/ | ||
@@ -564,3 +568,3 @@ jQuery.deferred.prototype.progress = function(progressCallbacks) {}; | ||
* @param {Object=} target | ||
* @return {jQuery.Promise} | ||
* @return {!jQuery.Promise} | ||
*/ | ||
@@ -571,3 +575,3 @@ jQuery.deferred.prototype.promise = function(target) {}; | ||
* @param {...*} var_args | ||
* @return {jQuery.deferred} | ||
* @return {!jQuery.deferred} | ||
*/ | ||
@@ -578,4 +582,4 @@ jQuery.deferred.prototype.reject = function(var_args) {}; | ||
* @param {Object} context | ||
* @param {Array.<*>=} args | ||
* @return {jQuery.deferred} | ||
* @param {Array<*>=} args | ||
* @return {!jQuery.deferred} | ||
*/ | ||
@@ -586,3 +590,3 @@ jQuery.deferred.prototype.rejectWith = function(context, args) {}; | ||
* @param {...*} var_args | ||
* @return {jQuery.deferred} | ||
* @return {!jQuery.deferred} | ||
*/ | ||
@@ -593,4 +597,4 @@ jQuery.deferred.prototype.resolve = function(var_args) {}; | ||
* @param {Object} context | ||
* @param {Array.<*>=} args | ||
* @return {jQuery.deferred} | ||
* @param {Array<*>=} args | ||
* @return {!jQuery.deferred} | ||
*/ | ||
@@ -607,3 +611,3 @@ jQuery.deferred.prototype.resolveWith = function(context, args) {}; | ||
* @param {jQueryCallback=} progressCallbacks | ||
* @return {jQuery.deferred} | ||
* @return {!jQuery.deferred} | ||
*/ | ||
@@ -622,5 +626,5 @@ jQuery.deferred.prototype.then | ||
* @param {string} selector | ||
* @param {(string|Object.<string,*>)} arg2 | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)=} arg3 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(string|Object<string,*>)} arg2 | ||
* @param {(function(!jQuery.Event)|Object<string, *>)=} arg3 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -694,4 +698,4 @@ */ | ||
* @deprecated Please use .on( "error", handler ) instead. | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)} arg1 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(function(!jQuery.Event)|Object<string, *>)} arg1 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -704,9 +708,9 @@ */ | ||
/** | ||
* @constructor | ||
* @param {string} eventType | ||
*/ | ||
jQuery.event = function(eventType) {}; | ||
/** @const */ | ||
jQuery.event = {}; | ||
/** @type {Object.<string, Object>} */ | ||
/** @type {Array<string>} */ | ||
jQuery.event.props; | ||
/** @type {Object<string, Object>} */ | ||
jQuery.event.special; | ||
@@ -716,17 +720,15 @@ | ||
* @constructor | ||
* @extends {jQuery.event} | ||
* @param {string} eventType | ||
* @param {Object=} properties | ||
* @return {jQuery.Event} | ||
* @return {!jQuery.Event} | ||
*/ | ||
jQuery.Event = function(eventType, properties) {}; | ||
/** | ||
* @constructor | ||
* @extends {jQuery.event} | ||
* @param {string} eventType | ||
*/ | ||
$.event = function(eventType) {}; | ||
/** @const */ | ||
$.event = {}; | ||
/** @type {Object.<string, Object>} */ | ||
/** @type {Array<string>} */ | ||
$.event.props; | ||
/** @type {Object<string, Object>} */ | ||
$.event.special; | ||
@@ -736,18 +738,48 @@ | ||
* @constructor | ||
* @extends {jQuery.event} | ||
* @extends {jQuery.Event} | ||
* @param {string} eventType | ||
* @param {Object=} properties | ||
* @return {$.Event} | ||
* @return {!jQuery.Event} | ||
*/ | ||
$.Event = function(eventType, properties) {}; | ||
/** @type {boolean} */ | ||
jQuery.Event.prototype.altKey; | ||
/** @type {boolean} */ | ||
jQuery.Event.prototype.bubbles; | ||
/** @type {number} */ | ||
jQuery.Event.prototype.button; | ||
/** @type {boolean} */ | ||
jQuery.Event.prototype.cancelable; | ||
/** @type {string} */ | ||
jQuery.Event.prototype.charChode; | ||
/** @type {number} */ | ||
jQuery.Event.prototype.clientX; | ||
/** @type {number} */ | ||
jQuery.Event.prototype.clientY; | ||
/** @type {boolean} */ | ||
jQuery.Event.prototype.ctrlKey; | ||
/** @type {Element} */ | ||
jQuery.event.prototype.currentTarget; | ||
jQuery.Event.prototype.currentTarget; | ||
/** @type {Object.<string, *>} */ | ||
jQuery.event.prototype.data; | ||
/** @type {Object<string, *>} */ | ||
jQuery.Event.prototype.data; | ||
/** @type {Element} */ | ||
jQuery.event.prototype.delegateTarget; | ||
jQuery.Event.prototype.delegateTarget; | ||
/** @type {number} */ | ||
jQuery.Event.prototype.detail; | ||
/** @type {number} */ | ||
jQuery.Event.prototype.eventPhase; | ||
/** | ||
@@ -757,3 +789,3 @@ * @return {boolean} | ||
*/ | ||
jQuery.event.prototype.isDefaultPrevented = function() {}; | ||
jQuery.Event.prototype.isDefaultPrevented = function() {}; | ||
@@ -764,3 +796,3 @@ /** | ||
*/ | ||
jQuery.event.prototype.isImmediatePropagationStopped = function() {}; | ||
jQuery.Event.prototype.isImmediatePropagationStopped = function() {}; | ||
@@ -771,45 +803,69 @@ /** | ||
*/ | ||
jQuery.event.prototype.isPropagationStopped = function() {}; | ||
jQuery.Event.prototype.isPropagationStopped = function() {}; | ||
/** @type {boolean} */ | ||
jQuery.Event.prototype.metaKey; | ||
/** @type {string} */ | ||
jQuery.event.prototype.namespace; | ||
jQuery.Event.prototype.namespace; | ||
/** @type {number} */ | ||
jQuery.Event.prototype.offsetX; | ||
/** @type {number} */ | ||
jQuery.Event.prototype.offsetY; | ||
/** @type {Event} */ | ||
jQuery.event.prototype.originalEvent; | ||
jQuery.Event.prototype.originalEvent; | ||
/** @type {Element} */ | ||
jQuery.Event.prototype.originalTarget; | ||
/** @type {number} */ | ||
jQuery.event.prototype.pageX; | ||
jQuery.Event.prototype.pageX; | ||
/** @type {number} */ | ||
jQuery.event.prototype.pageY; | ||
jQuery.Event.prototype.pageY; | ||
/** @return {undefined} */ | ||
jQuery.event.prototype.preventDefault = function() {}; | ||
jQuery.Event.prototype.preventDefault = function() {}; | ||
/** @type {Object.<string, *>} */ | ||
jQuery.event.prototype.props; | ||
/** @type {Object<string, *>} */ | ||
jQuery.Event.prototype.props; | ||
/** @type {Element} */ | ||
jQuery.event.prototype.relatedTarget; | ||
jQuery.Event.prototype.relatedTarget; | ||
/** @type {*} */ | ||
jQuery.event.prototype.result; | ||
jQuery.Event.prototype.result; | ||
/** @type {number} */ | ||
jQuery.Event.prototype.screenX; | ||
/** @type {number} */ | ||
jQuery.Event.prototype.screenY; | ||
/** @type {boolean} */ | ||
jQuery.Event.prototype.shiftKey; | ||
/** @return {undefined} */ | ||
jQuery.event.prototype.stopImmediatePropagation = function() {}; | ||
jQuery.Event.prototype.stopImmediatePropagation = function() {}; | ||
/** @return {undefined} */ | ||
jQuery.event.prototype.stopPropagation = function() {}; | ||
jQuery.Event.prototype.stopPropagation = function() {}; | ||
/** @type {Element} */ | ||
jQuery.event.prototype.target; | ||
jQuery.Event.prototype.target; | ||
/** @type {number} */ | ||
jQuery.event.prototype.timeStamp; | ||
jQuery.Event.prototype.timeStamp; | ||
/** @type {string} */ | ||
jQuery.event.prototype.type; | ||
jQuery.Event.prototype.type; | ||
/** @type {Window} */ | ||
jQuery.Event.prototype.view; | ||
/** @type {number} */ | ||
jQuery.event.prototype.which; | ||
jQuery.Event.prototype.which; | ||
@@ -894,4 +950,4 @@ /** | ||
/** | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(function(!jQuery.Event)|Object<string, *>)=} arg1 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -902,4 +958,4 @@ */ | ||
/** | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)} arg1 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(function(!jQuery.Event)|Object<string, *>)} arg1 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -910,4 +966,4 @@ */ | ||
/** | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)} arg1 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(function(!jQuery.Event)|Object<string, *>)} arg1 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -937,7 +993,7 @@ */ | ||
* @param {string} url | ||
* @param {(Object.<string,*>|string| | ||
* @param {(Object<string,*>|string| | ||
* function(string,string,jQuery.jqXHR))=} data | ||
* @param {(function(string,string,jQuery.jqXHR)|string)=} success | ||
* @param {string=} dataType | ||
* @return {jQuery.jqXHR} | ||
* @return {!jQuery.jqXHR} | ||
*/ | ||
@@ -948,3 +1004,3 @@ jQuery.get = function(url, data, success, dataType) {}; | ||
* @param {number=} index | ||
* @return {(Element|Array.<Element>)} | ||
* @return {(Element|Array<Element>)} | ||
* @nosideeffects | ||
@@ -956,7 +1012,7 @@ */ | ||
* @param {string} url | ||
* @param {(Object.<string,*>|string| | ||
* @param {(Object<string,*>|string| | ||
* function(string,string,jQuery.jqXHR))=} data | ||
* @param {(function(string,string,jQuery.jqXHR)|string)=} success | ||
* @param {string=} dataType | ||
* @return {jQuery.jqXHR} | ||
* @return {!jQuery.jqXHR} | ||
*/ | ||
@@ -967,6 +1023,6 @@ $.get = function(url, data, success, dataType) {}; | ||
* @param {string} url | ||
* @param {(Object.<string,*>| | ||
* function(Object.<string,*>,string,jQuery.jqXHR))=} data | ||
* @param {function(Object.<string,*>,string,jQuery.jqXHR)=} success | ||
* @return {jQuery.jqXHR} | ||
* @param {(Object<string,*>| | ||
* function(Object<string,*>,string,jQuery.jqXHR))=} data | ||
* @param {function(Object<string,*>,string,jQuery.jqXHR)=} success | ||
* @return {!jQuery.jqXHR} | ||
* @see http://api.jquery.com/jquery.getjson/#jQuery-getJSON-url-data-success | ||
@@ -978,6 +1034,6 @@ */ | ||
* @param {string} url | ||
* @param {(Object.<string,*>| | ||
* function(Object.<string,*>,string,jQuery.jqXHR))=} data | ||
* @param {function(Object.<string,*>,string,jQuery.jqXHR)=} success | ||
* @return {jQuery.jqXHR} | ||
* @param {(Object<string,*>| | ||
* function(Object<string,*>,string,jQuery.jqXHR))=} data | ||
* @param {function(Object<string,*>,string,jQuery.jqXHR)=} success | ||
* @return {!jQuery.jqXHR} | ||
* @see http://api.jquery.com/jquery.getjson/#jQuery-getJSON-url-data-success | ||
@@ -990,3 +1046,3 @@ */ | ||
* @param {function(Node,string,jQuery.jqXHR)=} success | ||
* @return {jQuery.jqXHR} | ||
* @return {!jQuery.jqXHR} | ||
*/ | ||
@@ -998,3 +1054,3 @@ jQuery.getScript = function(url, success) {}; | ||
* @param {function(Node,string,jQuery.jqXHR)=} success | ||
* @return {jQuery.jqXHR} | ||
* @return {!jQuery.jqXHR} | ||
*/ | ||
@@ -1010,6 +1066,7 @@ $.getScript = function(url, success) {}; | ||
/** | ||
* @param {Array.<*>} arr | ||
* @template T | ||
* @param {!Array<T>} arr | ||
* @param {function(*,number)} fnc | ||
* @param {boolean=} invert | ||
* @return {Array.<*>} | ||
* @return {!Array<T>} | ||
*/ | ||
@@ -1019,6 +1076,7 @@ jQuery.grep = function(arr, fnc, invert) {}; | ||
/** | ||
* @param {Array.<*>} arr | ||
* @template T | ||
* @param {!Array<T>} arr | ||
* @param {function(*,number)} fnc | ||
* @param {boolean=} invert | ||
* @return {Array.<*>} | ||
* @return {!Array<T>} | ||
*/ | ||
@@ -1042,3 +1100,3 @@ $.grep = function(arr, fnc, invert) {}; | ||
/** | ||
* @param {Element} elem | ||
* @param {!Element} elem | ||
* @return {boolean} | ||
@@ -1050,3 +1108,3 @@ * @nosideeffects | ||
/** | ||
* @param {Element} elem | ||
* @param {!Element} elem | ||
* @return {boolean} | ||
@@ -1078,4 +1136,4 @@ * @nosideeffects | ||
/** | ||
* @param {function(!jQuery.event=)} arg1 | ||
* @param {function(!jQuery.event=)=} handlerOut | ||
* @param {function(!jQuery.Event)} arg1 | ||
* @param {function(!jQuery.Event)=} handlerOut | ||
* @return {!jQuery} | ||
@@ -1093,3 +1151,3 @@ */ | ||
* @param {*} value | ||
* @param {Array.<*>} arr | ||
* @param {Array<*>} arr | ||
* @param {number=} fromIndex | ||
@@ -1103,3 +1161,3 @@ * @return {number} | ||
* @param {*} value | ||
* @param {Array.<*>} arr | ||
* @param {Array<*>} arr | ||
* @param {number=} fromIndex | ||
@@ -1261,3 +1319,3 @@ * @return {number} | ||
* @param {jQueryCallback=} alwaysCallbacks2 | ||
* @return {jQuery.jqXHR} | ||
* @return {!jQuery.jqXHR} | ||
*/ | ||
@@ -1270,3 +1328,3 @@ jQuery.jqXHR.prototype.always = | ||
* @param {function()} callback | ||
* @return {jQuery.jqXHR} | ||
* @return {!jQuery.jqXHR} | ||
*/ | ||
@@ -1278,3 +1336,3 @@ jQuery.jqXHR.prototype.complete = function (callback) {}; | ||
* @param {jQueryCallback} doneCallbacks | ||
* @return {jQuery.jqXHR} | ||
* @return {!jQuery.jqXHR} | ||
*/ | ||
@@ -1286,3 +1344,3 @@ jQuery.jqXHR.prototype.done = function(doneCallbacks) {}; | ||
* @param {function()} callback | ||
* @return {jQuery.jqXHR} | ||
* @return {!jQuery.jqXHR} | ||
*/ | ||
@@ -1294,3 +1352,3 @@ jQuery.jqXHR.prototype.error = function (callback) {}; | ||
* @param {jQueryCallback} failCallbacks | ||
* @return {jQuery.jqXHR} | ||
* @return {!jQuery.jqXHR} | ||
*/ | ||
@@ -1310,3 +1368,3 @@ jQuery.jqXHR.prototype.fail = function(failCallbacks) {}; | ||
* @param {function()=} progressFilter | ||
* @return {jQuery.jqXHR} | ||
* @return {!jQuery.jqXHR} | ||
*/ | ||
@@ -1319,3 +1377,3 @@ jQuery.jqXHR.prototype.pipe = | ||
* @param {function()} callback | ||
* @return {jQuery.jqXHR} | ||
* @return {!jQuery.jqXHR} | ||
*/ | ||
@@ -1329,3 +1387,3 @@ jQuery.jqXHR.prototype.success = function (callback) {}; | ||
* @param {jQueryCallback=} progressCallbacks | ||
* @return {jQuery.jqXHR} | ||
* @return {!jQuery.jqXHR} | ||
*/ | ||
@@ -1336,4 +1394,4 @@ jQuery.jqXHR.prototype.then = | ||
/** | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(function(!jQuery.Event)|Object<string, *>)=} arg1 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -1344,4 +1402,4 @@ */ | ||
/** | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(function(!jQuery.Event)|Object<string, *>)=} arg1 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -1352,4 +1410,4 @@ */ | ||
/** | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(function(!jQuery.Event)|Object<string, *>)=} arg1 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -1369,4 +1427,4 @@ */ | ||
* module invocation signature is OK.) | ||
* @param {(function(!jQuery.event=)|Object.<string, *>|string)} arg1 | ||
* @param {(function(!jQuery.event=)|Object.<string,*>|string)=} arg2 | ||
* @param {(function(!jQuery.Event)|Object<string, *>|string)} arg1 | ||
* @param {(function(!jQuery.Event)|Object<string,*>|string)=} arg2 | ||
* @param {function(string,string,XMLHttpRequest)=} complete | ||
@@ -1379,3 +1437,3 @@ * @return {!jQuery} | ||
* @param {*} obj | ||
* @return {Array.<*>} | ||
* @return {Array<*>} | ||
*/ | ||
@@ -1386,3 +1444,3 @@ jQuery.makeArray = function(obj) {}; | ||
* @param {*} obj | ||
* @return {Array.<*>} | ||
* @return {Array<*>} | ||
*/ | ||
@@ -1392,5 +1450,5 @@ $.makeArray = function(obj) {}; | ||
/** | ||
* @param {(Array.<*>|Object.<string, *>)} arg1 | ||
* @param {(Array<*>|Object<string, *>)} arg1 | ||
* @param {(function(*,number)|function(*,(string|number)))} callback | ||
* @return {Array.<*>} | ||
* @return {Array<*>} | ||
*/ | ||
@@ -1406,5 +1464,5 @@ jQuery.map = function(arg1, callback) {}; | ||
/** | ||
* @param {(Array.<*>|Object.<string, *>)} arg1 | ||
* @param {(Array<*>|Object<string, *>)} arg1 | ||
* @param {(function(*,number)|function(*,(string|number)))} callback | ||
* @return {Array.<*>} | ||
* @return {Array<*>} | ||
*/ | ||
@@ -1414,5 +1472,5 @@ $.map = function(arg1, callback) {}; | ||
/** | ||
* @param {Array.<*>} first | ||
* @param {Array.<*>} second | ||
* @return {Array.<*>} | ||
* @param {Array<*>} first | ||
* @param {Array<*>} second | ||
* @return {Array<*>} | ||
*/ | ||
@@ -1422,5 +1480,5 @@ jQuery.merge = function(first, second) {}; | ||
/** | ||
* @param {Array.<*>} first | ||
* @param {Array.<*>} second | ||
* @return {Array.<*>} | ||
* @param {Array<*>} first | ||
* @param {Array<*>} second | ||
* @return {Array<*>} | ||
*/ | ||
@@ -1430,4 +1488,4 @@ $.merge = function(first, second) {}; | ||
/** | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(function(!jQuery.Event)|Object<string, *>)=} arg1 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -1438,4 +1496,4 @@ */ | ||
/** | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(function(!jQuery.Event)|Object<string, *>)=} arg1 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -1446,4 +1504,4 @@ */ | ||
/** | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(function(!jQuery.Event)|Object<string, *>)=} arg1 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -1454,4 +1512,4 @@ */ | ||
/** | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(function(!jQuery.Event)|Object<string, *>)=} arg1 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -1462,4 +1520,4 @@ */ | ||
/** | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(function(!jQuery.Event)|Object<string, *>)=} arg1 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -1470,4 +1528,4 @@ */ | ||
/** | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(function(!jQuery.Event)|Object<string, *>)=} arg1 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -1478,4 +1536,4 @@ */ | ||
/** | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(function(!jQuery.Event)|Object<string, *>)=} arg1 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -1532,3 +1590,3 @@ */ | ||
/** | ||
* @param {(jQuerySelector|Array.<Element>|function(number)|jQuery)} arg1 | ||
* @param {(jQuerySelector|Array<Element>|function(number)|jQuery)} arg1 | ||
* @return {!jQuery} | ||
@@ -1551,5 +1609,5 @@ */ | ||
/** | ||
* @param {(string|Object.<string,*>)=} arg1 | ||
* @param {(string|function(!jQuery.event=))=} selector | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(string|Object<string,*>)=} arg1 | ||
* @param {(string|function(!jQuery.Event))=} selector | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -1573,6 +1631,6 @@ */ | ||
/** | ||
* @param {(string|Object.<string,*>)} arg1 | ||
* @param {(string|Object<string,*>)} arg1 | ||
* @param {*=} selector | ||
* @param {*=} data | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -1583,6 +1641,6 @@ */ | ||
/** | ||
* @param {(string|Object.<string,*>)} arg1 | ||
* @param {(string|Object<string,*>)} arg1 | ||
* @param {*=} arg2 | ||
* @param {*=} arg3 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -1607,3 +1665,3 @@ */ | ||
/** | ||
* @param {(Object.<string, *>|Array.<Object.<string, *>>)} obj | ||
* @param {(Object<string, *>|Array<Object<string, *>>)} obj | ||
* @param {boolean=} traditional | ||
@@ -1615,3 +1673,3 @@ * @return {string} | ||
/** | ||
* @param {(Object.<string, *>|Array.<Object.<string, *>>)} obj | ||
* @param {(Object<string, *>|Array<Object<string, *>>)} obj | ||
* @param {boolean=} traditional | ||
@@ -1648,3 +1706,3 @@ * @return {string} | ||
* @param {boolean=} keepScripts | ||
* @return {Array.<Element>} | ||
* @return {Array<Element>} | ||
*/ | ||
@@ -1657,3 +1715,3 @@ jQuery.parseHTML = function(data, context, keepScripts) {}; | ||
* @param {boolean=} keepScripts | ||
* @return {Array.<Element>} | ||
* @return {Array<Element>} | ||
*/ | ||
@@ -1664,3 +1722,3 @@ $.parseHTML = function(data, context, keepScripts) {}; | ||
* @param {string} json | ||
* @return {string|number|Object.<string, *>|Array.<?>|boolean} | ||
* @return {string|number|Object<string, *>|Array<?>|boolean} | ||
*/ | ||
@@ -1671,3 +1729,3 @@ jQuery.parseJSON = function(json) {}; | ||
* @param {string} json | ||
* @return {Object.<string, *>} | ||
* @return {Object<string, *>} | ||
*/ | ||
@@ -1696,7 +1754,7 @@ $.parseJSON = function(json) {}; | ||
* @param {string} url | ||
* @param {(Object.<string,*>|string| | ||
* @param {(Object<string,*>|string| | ||
* function(string,string,jQuery.jqXHR))=} data | ||
* @param {(function(string,string,jQuery.jqXHR)|string|null)=} success | ||
* @param {string=} dataType | ||
* @return {jQuery.jqXHR} | ||
* @return {!jQuery.jqXHR} | ||
*/ | ||
@@ -1707,7 +1765,7 @@ jQuery.post = function(url, data, success, dataType) {}; | ||
* @param {string} url | ||
* @param {(Object.<string,*>|string| | ||
* @param {(Object<string,*>|string| | ||
* function(string,string,jQuery.jqXHR))=} data | ||
* @param {(function(string,string,jQuery.jqXHR)|string|null)=} success | ||
* @param {string=} dataType | ||
* @return {jQuery.jqXHR} | ||
* @return {!jQuery.jqXHR} | ||
*/ | ||
@@ -1754,3 +1812,3 @@ $.post = function(url, data, success, dataType) {}; | ||
* @param {Object=} target | ||
* @return {jQuery.Promise} | ||
* @return {!jQuery.Promise} | ||
*/ | ||
@@ -1769,3 +1827,3 @@ jQuery.prototype.promise = function(type, target) {}; | ||
* @param {jQueryCallback=} alwaysCallbacks2 | ||
* @return {jQuery.Promise} | ||
* @return {!jQuery.Promise} | ||
*/ | ||
@@ -1777,3 +1835,3 @@ jQuery.Promise.prototype.always = | ||
* @param {jQueryCallback} doneCallbacks | ||
* @return {jQuery.Promise} | ||
* @return {!jQuery.Promise} | ||
*/ | ||
@@ -1784,3 +1842,3 @@ jQuery.Promise.prototype.done = function(doneCallbacks) {}; | ||
* @param {jQueryCallback} failCallbacks | ||
* @return {jQuery.Promise} | ||
* @return {!jQuery.Promise} | ||
*/ | ||
@@ -1793,3 +1851,3 @@ jQuery.Promise.prototype.fail = function(failCallbacks) {}; | ||
* @param {function()=} progressFilter | ||
* @return {jQuery.Promise} | ||
* @return {!jQuery.Promise} | ||
*/ | ||
@@ -1803,3 +1861,3 @@ jQuery.Promise.prototype.pipe = | ||
* @param {jQueryCallback=} progressCallbacks | ||
* @return {jQuery.Promise} | ||
* @return {!jQuery.Promise} | ||
*/ | ||
@@ -1810,3 +1868,3 @@ jQuery.Promise.prototype.then = | ||
/** | ||
* @param {(string|Object.<string,*>)} arg1 | ||
* @param {(string|Object<string,*>)} arg1 | ||
* @param {(string|number|boolean|function(number,String))=} arg2 | ||
@@ -1830,5 +1888,5 @@ * @return {(string|boolean|!jQuery)} | ||
/** | ||
* @param {Array.<Element>} elements | ||
* @param {Array<Element>} elements | ||
* @param {string=} name | ||
* @param {Array.<*>=} args | ||
* @param {Array<*>=} args | ||
* @return {!jQuery} | ||
@@ -1839,5 +1897,5 @@ */ | ||
/** | ||
* @param {(string|Array.<function()>|function(function()))=} queueName | ||
* @param {(Array.<function()>|function(function()))=} arg2 | ||
* @return {(Array.<Element>|!jQuery)} | ||
* @param {(string|Array<function()>|function(function()))=} queueName | ||
* @param {(Array<function()>|function(function()))=} arg2 | ||
* @return {(Array<Element>|!jQuery)} | ||
*/ | ||
@@ -1849,4 +1907,4 @@ jQuery.prototype.queue = function(queueName, arg2) {}; | ||
* @param {string=} queueName | ||
* @param {(Array.<function()>|function())=} arg3 | ||
* @return {(Array.<Element>|!jQuery)} | ||
* @param {(Array<function()>|function())=} arg3 | ||
* @return {(Array<Element>|!jQuery)} | ||
*/ | ||
@@ -1858,4 +1916,4 @@ jQuery.queue = function(elem, queueName, arg3) {}; | ||
* @param {string=} queueName | ||
* @param {(Array.<function()>|function())=} arg3 | ||
* @return {(Array.<Element>|!jQuery)} | ||
* @param {(Array<function()>|function())=} arg3 | ||
* @return {(Array<Element>|!jQuery)} | ||
*/ | ||
@@ -1889,3 +1947,3 @@ $.queue = function(elem, queueName, arg3) {}; | ||
/** | ||
* @param {(string|Array.<string>)=} arg1 | ||
* @param {(string|Array<string>)=} arg1 | ||
* @return {!jQuery} | ||
@@ -1928,4 +1986,4 @@ */ | ||
/** | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(function(!jQuery.Event)|Object<string, *>)=} arg1 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -1936,4 +1994,4 @@ */ | ||
/** | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(function(!jQuery.Event)|Object<string, *>)=} arg1 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -1956,4 +2014,4 @@ */ | ||
/** | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(function(!jQuery.Event)|Object<string, *>)=} arg1 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -1970,3 +2028,3 @@ */ | ||
/** | ||
* @return {Array.<Object.<string, *>>} | ||
* @return {Array<Object<string, *>>} | ||
* @nosideeffects | ||
@@ -2006,3 +2064,3 @@ */ | ||
/** | ||
* @param {(Object.<string,*>|string|number)=} optionsOrDuration | ||
* @param {(Object<string,*>|string|number)=} optionsOrDuration | ||
* @param {(function()|string)=} completeOrEasing | ||
@@ -2016,3 +2074,3 @@ * @param {function()=} complete | ||
/** | ||
* @param {(Object.<string,*>|string|number)=} optionsOrDuration | ||
* @param {(Object<string,*>|string|number)=} optionsOrDuration | ||
* @param {(function()|string)=} completeOrEasing | ||
@@ -2026,3 +2084,3 @@ * @param {function()=} complete | ||
/** | ||
* @param {(Object.<string,*>|string|number)=} optionsOrDuration | ||
* @param {(Object<string,*>|string|number)=} optionsOrDuration | ||
* @param {(function()|string)=} completeOrEasing | ||
@@ -2044,4 +2102,4 @@ * @param {function()=} complete | ||
/** | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)=} arg1 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(function(!jQuery.Event)|Object<string, *>)=} arg1 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -2051,3 +2109,3 @@ */ | ||
/** @type {Object.<string, *>} | ||
/** @type {Object<string, *>} | ||
* @deprecated Please try to use feature detection instead. | ||
@@ -2057,3 +2115,3 @@ */ | ||
/** @type {Object.<string, *>} | ||
/** @type {Object<string, *>} | ||
* @deprecated Please try to use feature detection instead. | ||
@@ -2148,3 +2206,3 @@ */ | ||
/** | ||
* @return {Array.<Element>} | ||
* @return {Array<Element>} | ||
* @nosideeffects | ||
@@ -2157,3 +2215,3 @@ */ | ||
* method on the Events category which was removed starting version 1.9. | ||
* @param {(number|string|Object.<string,*>|boolean)=} arg1 | ||
* @param {(number|string|Object<string,*>|boolean)=} arg1 | ||
* @param {(function()|string)=} arg2 | ||
@@ -2173,3 +2231,3 @@ * @param {function()=} arg3 | ||
/** | ||
* @param {(string|jQuery.event)} arg1 | ||
* @param {(string|jQuery.Event)} arg1 | ||
* @param {...*} var_args | ||
@@ -2181,4 +2239,4 @@ * @return {!jQuery} | ||
/** | ||
* @param {string|jQuery.event} eventType | ||
* @param {Array.<*>=} extraParameters | ||
* @param {string|jQuery.Event} eventType | ||
* @param {Array<*>=} extraParameters | ||
* @return {*} | ||
@@ -2217,4 +2275,4 @@ */ | ||
/** | ||
* @param {(string|function(!jQuery.event=)|jQuery.event)=} arg1 | ||
* @param {(function(!jQuery.event=)|boolean)=} arg2 | ||
* @param {(string|function(!jQuery.Event)|jQuery.Event)=} arg1 | ||
* @param {(function(!jQuery.Event)|boolean)=} arg2 | ||
* @return {!jQuery} | ||
@@ -2226,4 +2284,4 @@ */ | ||
* @param {string=} arg1 | ||
* @param {(string|Object.<string,*>)=} arg2 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(string|Object<string,*>)=} arg2 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -2234,4 +2292,4 @@ */ | ||
/** | ||
* @param {Array.<Element>} arr | ||
* @return {Array.<Element>} | ||
* @param {Array<Element>} arr | ||
* @return {Array<Element>} | ||
*/ | ||
@@ -2241,4 +2299,4 @@ jQuery.unique = function(arr) {}; | ||
/** | ||
* @param {Array.<Element>} arr | ||
* @return {Array.<Element>} | ||
* @param {Array<Element>} arr | ||
* @return {Array<Element>} | ||
*/ | ||
@@ -2249,4 +2307,4 @@ $.unique = function(arr) {}; | ||
* @deprecated Please use .on( "unload", handler ) instead. | ||
* @param {(function(!jQuery.event=)|Object.<string, *>)} arg1 | ||
* @param {function(!jQuery.event=)=} handler | ||
* @param {(function(!jQuery.Event)|Object<string, *>)} arg1 | ||
* @param {function(!jQuery.Event)=} handler | ||
* @return {!jQuery} | ||
@@ -2260,4 +2318,4 @@ */ | ||
/** | ||
* @param {(string|Array.<string>|function(number,*))=} arg1 | ||
* @return {(string|number|Array.<string>|!jQuery)} | ||
* @param {(string|Array<string>|function(number,*))=} arg1 | ||
* @return {(string|number|Array<string>|!jQuery)} | ||
*/ | ||
@@ -2276,3 +2334,3 @@ jQuery.prototype.val = function(arg1) {}; | ||
* @param {...*} deferreds | ||
* @return {jQuery.Promise} | ||
* @return {!jQuery.Promise} | ||
*/ | ||
@@ -2285,3 +2343,3 @@ jQuery.when = function(deferred, deferreds) {}; | ||
* @param {...*} deferreds | ||
* @return {jQuery.Promise} | ||
* @return {!jQuery.Promise} | ||
*/ | ||
@@ -2313,2 +2371,1 @@ $.when = function(deferred, deferreds) {}; | ||
jQuery.prototype.wrapInner = function(arg1) {}; | ||
@@ -226,2 +226,3 @@ /* | ||
* when the event occurs. | ||
* @override | ||
*/ | ||
@@ -228,0 +229,0 @@ YouTubePlayer.prototype.addEventListener = function(event, listener) {}; |
@@ -29,3 +29,3 @@ /* | ||
*/ | ||
os.tmdDir; | ||
os.tmpDir; | ||
@@ -32,0 +32,0 @@ /** |
{ | ||
"name": "google-closure-compiler", | ||
"version": "20150609.0.0", | ||
"version": "20150729.0.0", | ||
"description": "A JavaScript checker and optimizer", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -124,3 +124,14 @@ # [Google Closure Compiler](https://developers.google.com/closure/compiler/) | ||
### Submitting patches | ||
1. All contributors must sign a contributor license agreement. See the [CONTRIBUTORS](https://raw.githubusercontent.com/google/closure-compiler/master/CONTRIBUTORS) file for details. | ||
1. All contributors must sign a contributor license agreement (CLA). | ||
A CLA basically says that you own the rights to any code you contribute, | ||
and that you give us permission to use that code in Closure Compiler. | ||
You maintain the copyright on that code. | ||
If you own all the rights to your code, you can fill out an | ||
[individual CLA](http://code.google.com/legal/individual-cla-v1.0.html). | ||
If your employer has any rights to your code, then they also need to fill out | ||
a [corporate CLA](http://code.google.com/legal/corporate-cla-v1.0.html). | ||
If you don't know if your employer has any rights to your code, you should | ||
ask before signing anything. | ||
By default, anyone with an @google.com email address already has a CLA | ||
signed for them. | ||
2. To make sure your changes are of the type that will be accepted, ask about your patch on the [Closure Compiler Discuss Group](https://groups.google.com/forum/#!forum/closure-compiler-discuss) | ||
@@ -127,0 +138,0 @@ 3. Fork the repository. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
9970277
114
144952
508