google-closure-compiler
Advanced tools
Comparing version 20150920.0.0 to 20151015.0.0
@@ -27,3 +27,2 @@ /* | ||
* angular.mock.TzDate | ||
* angular.mock.animate | ||
* angular.mock.dump | ||
@@ -239,1 +238,8 @@ * $RAFDecorator | ||
angular.mock.$TimeoutDecorator.prototype.verifyNoPendingTasks = function() {}; | ||
/** @constructor */ | ||
angular.mock.animate = function() {}; | ||
angular.mock.animate.prototype.flush = function() {}; |
@@ -224,12 +224,22 @@ /* | ||
* @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) | ||
* animate: (function(!angular.JQLite, string, !Object, !Object, !Function, | ||
* !Object=):(!Function|undefined)|undefined), | ||
* enter: (function(!angular.JQLite, !Function, !Object=): | ||
* (!Function|undefined)|undefined), | ||
* leave: (function(!angular.JQLite, !Function, !Object=): | ||
* (!Function|undefined)|undefined), | ||
* move: (function(!angular.JQLite, !Function, !Object=): | ||
* (!Function|undefined)|undefined), | ||
* beforeAddClass: (function(!angular.JQLite, string, !Function, !Object=): | ||
* (!Function|undefined)|undefined), | ||
* addClass: (function(!angular.JQLite, string, !Function, !Object=): | ||
* (!Function|undefined)|undefined), | ||
* beforeRemoveClass: (function(!angular.JQLite, string, !Function, !Object=): | ||
* (!Function|undefined)|undefined), | ||
* removeClass: (function(!angular.JQLite, string, !Function, !Object=): | ||
* (!Function|undefined)|undefined), | ||
* beforeSetClass: (function(!angular.JQLite, string, string, !Function, | ||
* !Object=):(!Function|undefined)|undefined), | ||
* setClass: (function(!angular.JQLite, string, string, !Function, !Object=): | ||
* (!Function|undefined)|undefined) | ||
* }} | ||
@@ -241,36 +251,98 @@ */ | ||
* @param {!angular.JQLite} element | ||
* @param {!Function} done | ||
* @param {string} className | ||
* @param {!Object} from | ||
* @param {!Object} to | ||
* @param {!Function} doneFn | ||
* @param {!Object=} opt_options | ||
*/ | ||
angular.Animation.animate = | ||
function(element, className, from, to, doneFn, opt_options) {}; | ||
/** | ||
* @param {!angular.JQLite} element | ||
* @param {!Function} doneFn | ||
* @param {!Object=} opt_options | ||
* @return {(!Function|undefined)} | ||
*/ | ||
angular.Animation.enter = function(element, done) {}; | ||
angular.Animation.enter = function(element, doneFn, opt_options) {}; | ||
/** | ||
* @param {!angular.JQLite} element | ||
* @param {!Function} done | ||
* @param {!Function} doneFn | ||
* @param {!Object=} opt_options | ||
* @return {(!Function|undefined)} | ||
*/ | ||
angular.Animation.leave = function(element, done) {}; | ||
angular.Animation.leave = function(element, doneFn, opt_options) {}; | ||
/** | ||
* @param {!angular.JQLite} element | ||
* @param {!Function} done | ||
* @param {!Function} doneFn | ||
* @param {!Object=} opt_options | ||
* @return {(!Function|undefined)} | ||
*/ | ||
angular.Animation.move = function(element, done) {}; | ||
angular.Animation.move = function(element, doneFn, opt_options) {}; | ||
/** | ||
* @param {!angular.JQLite} element | ||
* @param {!Function} done | ||
* @param {string} className | ||
* @param {!Function} doneFn | ||
* @param {!Object=} opt_options | ||
* @return {(!Function|undefined)} | ||
*/ | ||
angular.Animation.addClass = function(element, done) {}; | ||
angular.Animation.beforeAddClass = | ||
function(element, className, doneFn, opt_options) {}; | ||
/** | ||
* @param {!angular.JQLite} element | ||
* @param {!Function} done | ||
* @param {string} className | ||
* @param {!Function} doneFn | ||
* @param {!Object=} opt_options | ||
* @return {(!Function|undefined)} | ||
*/ | ||
angular.Animation.removeClass = function(element, done) {}; | ||
angular.Animation.addClass = | ||
function(element, className, doneFn, opt_options) {}; | ||
/** | ||
* @param {!angular.JQLite} element | ||
* @param {string} className | ||
* @param {!Function} doneFn | ||
* @param {!Object=} opt_options | ||
* @return {(!Function|undefined)} | ||
*/ | ||
angular.Animation.beforeRemoveClass = | ||
function(element, className, doneFn, opt_options) {}; | ||
/** | ||
* @param {!angular.JQLite} element | ||
* @param {string} className | ||
* @param {!Function} doneFn | ||
* @param {!Object=} opt_options | ||
* @return {(!Function|undefined)} | ||
*/ | ||
angular.Animation.removeClass = | ||
function(element, className, doneFn, opt_options) {}; | ||
/** | ||
* @param {!angular.JQLite} element | ||
* @param {string} addedClass | ||
* @param {string} removedClass | ||
* @param {!Function} doneFn | ||
* @param {!Object=} opt_options | ||
* @return {(!Function|undefined)} | ||
*/ | ||
angular.Animation.beforeSetClass = | ||
function(element, addedClass, removedClass, doneFn, opt_options) {}; | ||
/** | ||
* @param {!angular.JQLite} element | ||
* @param {string} addedClass | ||
* @param {string} removedClass | ||
* @param {!Function} doneFn | ||
* @param {!Object=} opt_options | ||
* @return {(!Function|undefined)} | ||
*/ | ||
angular.Animation.setClass = | ||
function(element, addedClass, removedClass, doneFn, opt_options) {}; | ||
/** | ||
* @typedef {{ | ||
@@ -750,3 +822,3 @@ * $attr: Object.<string,string>, | ||
* animation: | ||
* function(string, function(...*):angular.Animation):!angular.Module, | ||
* function(string, angular.Injectable):!angular.Module, | ||
* config: function(angular.Injectable):!angular.Module, | ||
@@ -778,3 +850,3 @@ * constant: function(string, *):angular.Module, | ||
* @param {string} name | ||
* @param {function(...*):angular.Animation} animationFactory | ||
* @param {angular.Injectable} animationFactory | ||
*/ | ||
@@ -1192,6 +1264,16 @@ angular.Module.animation = function(name, animationFactory) {}; | ||
* function(!angular.Scope, | ||
* function(!angular.JQLite, !angular.Scope=)=): !angular.JQLite} | ||
* function(!angular.JQLite, !angular.Scope=)=, | ||
* angular.$compile.LinkOptions=): !angular.JQLite} | ||
*/ | ||
angular.$compile; | ||
/** | ||
* @typedef {{ | ||
* parentBoundTranscludeFn: (Function|undefined), | ||
* transcludeControllers: (Object|undefined), | ||
* futureParentElement: (angular.JQLite|undefined) | ||
* }} | ||
*/ | ||
angular.$compile.LinkOptions; | ||
// TODO(martinprobst): remaining $compileProvider methods. | ||
@@ -1198,0 +1280,0 @@ |
@@ -18,3 +18,3 @@ /* | ||
/** | ||
* @fileoverview Externs for v1_3 ngMock angular-mocks.js. | ||
* @fileoverview Externs for v1_4 ngMock angular-mocks.js. | ||
* @externs | ||
@@ -28,3 +28,2 @@ * | ||
* angular.mock.TzDate | ||
* angular.mock.animate | ||
* angular.mock.dump | ||
@@ -240,1 +239,8 @@ * $RAFDecorator | ||
angular.mock.$TimeoutDecorator.prototype.verifyNoPendingTasks = function() {}; | ||
/** @constructor */ | ||
angular.mock.animate = function() {}; | ||
angular.mock.animate.prototype.flush = function() {}; |
@@ -22,3 +22,2 @@ /* | ||
* TODO: Remaining Services: | ||
* $cookies | ||
* $cookieStore | ||
@@ -223,42 +222,125 @@ * $document | ||
/** | ||
* @constructor | ||
* @typedef {{ | ||
* animate: (function(!angular.JQLite, !Object, !Object, !Function, | ||
* !Object=):(!Function|undefined)|undefined), | ||
* enter: (function(!angular.JQLite, !Function, !Object=): | ||
* (!Function|undefined)|undefined), | ||
* leave: (function(!angular.JQLite, !Function, !Object=): | ||
* (!Function|undefined)|undefined), | ||
* move: (function(!angular.JQLite, !Function, !Object=): | ||
* (!Function|undefined)|undefined), | ||
* beforeAddClass: (function(!angular.JQLite, string, !Function, !Object=): | ||
* (!Function|undefined)|undefined), | ||
* addClass: (function(!angular.JQLite, string, !Function, !Object=): | ||
* (!Function|undefined)|undefined), | ||
* beforeRemoveClass: (function(!angular.JQLite, string, !Function, !Object=): | ||
* (!Function|undefined)|undefined), | ||
* removeClass: (function(!angular.JQLite, string, !Function, !Object=): | ||
* (!Function|undefined)|undefined), | ||
* beforeSetClass: (function(!angular.JQLite, string, string, !Function, | ||
* !Object=):(!Function|undefined)|undefined), | ||
* setClass: (function(!angular.JQLite, string, string, !Function, !Object=): | ||
* (!Function|undefined)|undefined) | ||
* }} | ||
*/ | ||
angular.Animation = function() {}; | ||
angular.Animation; | ||
/** | ||
* @param {!angular.JQLite} element | ||
* @param {!Function} done | ||
* @param {!Object} from | ||
* @param {!Object} to | ||
* @param {!Function} doneFn | ||
* @param {!Object=} opt_options | ||
* @return {(!Function|undefined)} | ||
*/ | ||
angular.Animation.prototype.enter = function(element, done) {}; | ||
angular.Animation.animate = | ||
function(element, from, to, doneFn, opt_options) {}; | ||
/** | ||
* @param {!angular.JQLite} element | ||
* @param {!Function} done | ||
* @param {!Function} doneFn | ||
* @param {!Object=} opt_options | ||
* @return {(!Function|undefined)} | ||
*/ | ||
angular.Animation.prototype.leave = function(element, done) {}; | ||
angular.Animation.enter = function(element, doneFn, opt_options) {}; | ||
/** | ||
* @param {!angular.JQLite} element | ||
* @param {!Function} done | ||
* @param {!Function} doneFn | ||
* @param {!Object=} opt_options | ||
* @return {(!Function|undefined)} | ||
*/ | ||
angular.Animation.prototype.move = function(element, done) {}; | ||
angular.Animation.leave = function(element, doneFn, opt_options) {}; | ||
/** | ||
* @param {!angular.JQLite} element | ||
* @param {!Function} done | ||
* @param {!Function} doneFn | ||
* @param {!Object=} opt_options | ||
* @return {(!Function|undefined)} | ||
*/ | ||
angular.Animation.prototype.addClass = function(element, done) {}; | ||
angular.Animation.move = function(element, doneFn, opt_options) {}; | ||
/** | ||
* @param {!angular.JQLite} element | ||
* @param {!Function} done | ||
* @param {string} className | ||
* @param {!Function} doneFn | ||
* @param {!Object=} opt_options | ||
* @return {(!Function|undefined)} | ||
*/ | ||
angular.Animation.prototype.removeClass = function(element, done) {}; | ||
angular.Animation.beforeAddClass = | ||
function(element, className, doneFn, opt_options) {}; | ||
/** | ||
* @param {!angular.JQLite} element | ||
* @param {string} className | ||
* @param {!Function} doneFn | ||
* @param {!Object=} opt_options | ||
* @return {(!Function|undefined)} | ||
*/ | ||
angular.Animation.addClass = | ||
function(element, className, doneFn, opt_options) {}; | ||
/** | ||
* @param {!angular.JQLite} element | ||
* @param {string} className | ||
* @param {!Function} doneFn | ||
* @param {!Object=} opt_options | ||
* @return {(!Function|undefined)} | ||
*/ | ||
angular.Animation.beforeRemoveClass = | ||
function(element, className, doneFn, opt_options) {}; | ||
/** | ||
* @param {!angular.JQLite} element | ||
* @param {string} className | ||
* @param {!Function} doneFn | ||
* @param {!Object=} opt_options | ||
* @return {(!Function|undefined)} | ||
*/ | ||
angular.Animation.removeClass = | ||
function(element, className, doneFn, opt_options) {}; | ||
/** | ||
* @param {!angular.JQLite} element | ||
* @param {string} addedClass | ||
* @param {string} removedClass | ||
* @param {!Function} doneFn | ||
* @param {!Object=} opt_options | ||
* @return {(!Function|undefined)} | ||
*/ | ||
angular.Animation.beforeSetClass = | ||
function(element, addedClass, removedClass, doneFn, opt_options) {}; | ||
/** | ||
* @param {!angular.JQLite} element | ||
* @param {string} addedClass | ||
* @param {string} removedClass | ||
* @param {!Function} doneFn | ||
* @param {!Object=} opt_options | ||
* @return {(!Function|undefined)} | ||
*/ | ||
angular.Animation.setClass = | ||
function(element, addedClass, removedClass, doneFn, opt_options) {}; | ||
/** | ||
* @constructor | ||
@@ -631,3 +713,3 @@ */ | ||
* @param {string} name | ||
* @param {function(...*):angular.Animation} animationFactory | ||
* @param {angular.Injectable} animationFactory | ||
*/ | ||
@@ -650,14 +732,20 @@ angular.Module.prototype.animation = function(name, animationFactory) {}; | ||
/** | ||
* @param {string} name | ||
* @param {angular.Injectable} constructor | ||
* Intended to be called with either a name string and a constructor, or an | ||
* Object with names as keys and constructors as values. | ||
* | ||
* @param {string|!Object.<angular.Injectable>} name | ||
* @param {angular.Injectable=} opt_constructor | ||
* @return {!angular.Module} | ||
*/ | ||
angular.Module.prototype.controller = function(name, constructor) {}; | ||
angular.Module.prototype.controller = function(name, opt_constructor) {}; | ||
/** | ||
* @param {string} name | ||
* @param {angular.Injectable} directiveFactory | ||
* Intended to be called with either a name string and a directive factory, or | ||
* an Object with names as keys and directive factories as values. | ||
* | ||
* @param {string|!Object.<angular.Injectable>} name | ||
* @param {angular.Injectable=} opt_directiveFactory | ||
* @return {!angular.Module} | ||
*/ | ||
angular.Module.prototype.directive = function(name, directiveFactory) {}; | ||
angular.Module.prototype.directive = function(name, opt_directiveFactory) {}; | ||
@@ -706,2 +794,9 @@ /** | ||
/** | ||
* @param {string} name | ||
* @param {!angular.Injectable} decorator | ||
* @return {!angular.Module} | ||
*/ | ||
angular.Module.prototype.decorator = function(name, decorator) {}; | ||
/** | ||
* @type {string} | ||
@@ -1053,6 +1148,16 @@ */ | ||
* function(!angular.Scope, | ||
* function(!angular.JQLite, !angular.Scope=)=): !angular.JQLite} | ||
* function(!angular.JQLite, !angular.Scope=)=, | ||
* angular.$compile.LinkOptions=): !angular.JQLite} | ||
*/ | ||
angular.$compile; | ||
/** | ||
* @typedef {{ | ||
* parentBoundTranscludeFn: (Function|undefined), | ||
* transcludeControllers: (Object|undefined), | ||
* futureParentElement: (angular.JQLite|undefined) | ||
* }} | ||
*/ | ||
angular.$compile.LinkOptions; | ||
// TODO(martinprobst): remaining $compileProvider methods. | ||
@@ -1072,8 +1177,15 @@ | ||
/** | ||
* @param {!Array.<!RegExp>=} opt_expressions | ||
* @param {!RegExp=} opt_expression | ||
* @return {!RegExp|!angular.$compileProvider} | ||
*/ | ||
angular.$compileProvider.prototype.aHrefSanitizationWhitelist = function( | ||
opt_expressions) {}; | ||
opt_expression) {}; | ||
/** | ||
* @param {!RegExp=} opt_expression | ||
* @return {!RegExp|!angular.$compileProvider} | ||
*/ | ||
angular.$compileProvider.prototype.imgSrcSanitizationWhitelist = function( | ||
opt_expression) {}; | ||
/****************************************************************************** | ||
@@ -1160,2 +1272,70 @@ * $cacheFactory Service | ||
/****************************************************************************** | ||
* $cookies Service | ||
*****************************************************************************/ | ||
/** | ||
* @constructor | ||
*/ | ||
angular.$cookies = function() {}; | ||
/** | ||
* @param {string} key | ||
* @return {string|undefined} | ||
*/ | ||
angular.$cookies.prototype.get = function(key) {}; | ||
/** | ||
* @param {string} key | ||
* @return {?Object|undefined} | ||
*/ | ||
angular.$cookies.prototype.getObject = function(key) {}; | ||
/** | ||
* @return {!Object<string, string>} | ||
*/ | ||
angular.$cookies.prototype.getAll = function() {}; | ||
/** | ||
* @param {string} key | ||
* @param {string} value | ||
* @param {!angular.$cookies.Config=} opt_options | ||
*/ | ||
angular.$cookies.prototype.put = function(key, value, opt_options) {}; | ||
/** | ||
* @param {string} key | ||
* @param {?Object} value | ||
* @param {!angular.$cookies.Config=} opt_options | ||
*/ | ||
angular.$cookies.prototype.putObject = function(key, value, opt_options) {}; | ||
/** | ||
* @param {string} key | ||
* @param {!angular.$cookies.Config=} opt_options | ||
*/ | ||
angular.$cookies.prototype.remove = function(key, opt_options) {}; | ||
/** | ||
* See: | ||
* https://docs.angularjs.org/api/ngCookies/provider/$cookiesProvider#defaults | ||
* @typedef {{ | ||
* path: (string|undefined), | ||
* domain: (string|undefined), | ||
* date: (string|!Date|undefined), | ||
* secure: (boolean|undefined) | ||
* }} | ||
*/ | ||
angular.$cookies.Config; | ||
/** | ||
* @constructor | ||
*/ | ||
angular.$cookiesProvider = function() {}; | ||
/** | ||
* @type {angular.$cookies.Config} | ||
*/ | ||
angular.$cookiesProvider.prototype.defaults; | ||
/****************************************************************************** | ||
* $exceptionHandler Service | ||
@@ -1847,3 +2027,3 @@ *****************************************************************************/ | ||
* @param {string} name | ||
* @param {angular.Injectable} decorator | ||
* @param {!angular.Injectable} decorator | ||
*/ | ||
@@ -1850,0 +2030,0 @@ angular.$provide.prototype.decorator = function(name, decorator) {}; |
@@ -80,3 +80,3 @@ /* | ||
/** @constructor */ | ||
/** @constructor @template T */ | ||
jasmine.Matchers = function() {}; | ||
@@ -89,3 +89,3 @@ | ||
/** @type {*} */ | ||
/** @type {T} */ | ||
jasmine.Matchers.prototype.actual; | ||
@@ -368,8 +368,8 @@ | ||
/** @param {function(this:jasmine.Spec)} handler */ | ||
/** @param {function(this:jasmine.Spec, function())} handler */ | ||
function afterEach(handler) {} | ||
/** @param {function(this:jasmine.Spec, function()=)} handler */ | ||
function beforeEach(handler, opt_done) {} | ||
/** @param {function(this:jasmine.Spec, function())} handler */ | ||
function beforeEach(handler) {} | ||
@@ -400,3 +400,3 @@ | ||
* @param {string} description | ||
* @param {function(this:jasmine.Spec, function()=)} handler | ||
* @param {function(this:jasmine.Spec, function())} handler | ||
*/ | ||
@@ -408,3 +408,3 @@ function it(description, handler) {} | ||
* @param {string} description | ||
* @param {function(this:jasmine.Spec, function()=)} handler | ||
* @param {function(this:jasmine.Spec, function())} handler | ||
*/ | ||
@@ -411,0 +411,0 @@ function fit(description, handler) {} |
@@ -92,11 +92,5 @@ /* | ||
/** | ||
* @constructor | ||
* @extends {jQuery} | ||
* @param {(jQuerySelector|Element|Object|Array<Element>|jQuery|string| | ||
* function())=} arg1 | ||
* @param {(Element|jQuery|Document| | ||
* Object<string, (string|function(!jQuery.Event))>)=} arg2 | ||
* @return {!jQuery} | ||
* @const | ||
*/ | ||
function $(arg1, arg2) {} | ||
var $ = jQuery; | ||
@@ -139,9 +133,2 @@ /** | ||
/** | ||
* @param {(string|jQueryAjaxSettings|Object<string, *>)} arg1 | ||
* @param {(jQueryAjaxSettings|Object<string, *>)=} settings | ||
* @return {!jQuery.jqXHR} | ||
*/ | ||
$.ajax = function(arg1, settings) {}; | ||
/** | ||
* @param {function(!jQuery.Event,XMLHttpRequest,(jQueryAjaxSettings|Object<string, *>))} handler | ||
@@ -165,8 +152,2 @@ * @return {!jQuery} | ||
/** | ||
* @param {(string|function((jQueryAjaxSettings|Object<string, *>),(jQueryAjaxSettings|Object<string, *>),jQuery.jqXHR))} dataTypes | ||
* @param {function((jQueryAjaxSettings|Object<string, *>),(jQueryAjaxSettings|Object<string, *>),jQuery.jqXHR)=} handler | ||
*/ | ||
$.ajaxPrefilter = function(dataTypes, handler) {}; | ||
/** | ||
* @param {function(!jQuery.Event,jQuery.jqXHR,(jQueryAjaxSettings|Object<string, *>))} handler | ||
@@ -180,29 +161,14 @@ * @return {!jQuery} | ||
/** @const {jQueryAjaxSettings|Object<string, *>} */ | ||
$.ajaxSettings = {}; | ||
/** @type {Object<string, boolean>} */ | ||
jQuery.ajaxSettings.flatOptions = {}; | ||
/** @type {Object<string, boolean>} */ | ||
$.ajaxSettings.flatOptions = {}; | ||
/** @type {boolean} */ | ||
jQuery.ajaxSettings.processData; | ||
/** @type {boolean} */ | ||
$.ajaxSettings.processData; | ||
/** @type {Object<string, string>} */ | ||
jQuery.ajaxSettings.responseFields = {}; | ||
/** @type {Object<string, string>} */ | ||
$.ajaxSettings.responseFields = {}; | ||
/** @param {jQueryAjaxSettings|Object<string, *>} options */ | ||
jQuery.ajaxSetup = function(options) {}; | ||
/** @param {jQueryAjaxSettings|Object<string, *>} options */ | ||
$.ajaxSetup = function(options) {}; | ||
/** | ||
@@ -381,9 +347,2 @@ * @param {function()} handler | ||
/** | ||
* @param {Element} container | ||
* @param {Element} contained | ||
* @return {boolean} | ||
*/ | ||
$.contains = function(container, contained) {}; | ||
/** | ||
* @return {!jQuery} | ||
@@ -407,5 +366,2 @@ * @nosideeffects | ||
/** @type {Object<string, *>} */ | ||
$.cssHooks; | ||
/** | ||
@@ -427,10 +383,2 @@ * @param {Element} elem | ||
/** | ||
* @param {Element} elem | ||
* @param {string=} key | ||
* @param {*=} value | ||
* @return {*} | ||
*/ | ||
$.data = function(elem, key, value) {}; | ||
/** | ||
* @param {(function(!jQuery.Event)|Object<string, *>)=} arg1 | ||
@@ -459,18 +407,2 @@ * @param {function(!jQuery.Event)=} handler | ||
/** | ||
* @constructor | ||
* @extends {jQuery.deferred} | ||
* @param {function()=} opt_fn | ||
* @see http://api.jquery.com/category/deferred-object/ | ||
*/ | ||
$.deferred = function(opt_fn) {}; | ||
/** | ||
* @constructor | ||
* @extends {jQuery.deferred} | ||
* @param {function()=} opt_fn | ||
* @return {!jQuery.deferred} | ||
*/ | ||
$.Deferred = function(opt_fn) {}; | ||
/** | ||
* @override | ||
@@ -604,8 +536,2 @@ * @param {jQueryCallback} alwaysCallbacks | ||
/** | ||
* @param {Element} elem | ||
* @param {string=} queueName | ||
*/ | ||
$.dequeue = function(elem, queueName) {}; | ||
/** | ||
* @param {jQuerySelector=} selector | ||
@@ -629,8 +555,2 @@ * @return {!jQuery} | ||
/** | ||
* @param {Object} collection | ||
* @param {function((number|string),?)} callback | ||
* @return {Object} | ||
*/ | ||
$.each = function(collection, callback) {}; | ||
@@ -663,5 +583,2 @@ /** @return {!jQuery} */ | ||
/** @param {string} message */ | ||
$.error = function(message) {}; | ||
/** @const */ | ||
@@ -684,20 +601,2 @@ jQuery.event = {}; | ||
/** @const */ | ||
$.event = {}; | ||
/** @type {Array<string>} */ | ||
$.event.props; | ||
/** @type {Object<string, Object>} */ | ||
$.event.special; | ||
/** | ||
* @constructor | ||
* @extends {jQuery.Event} | ||
* @param {string} eventType | ||
* @param {Object=} properties | ||
* @return {!jQuery.Event} | ||
*/ | ||
$.Event = function(eventType, properties) {}; | ||
/** @type {boolean} */ | ||
@@ -841,9 +740,2 @@ jQuery.Event.prototype.altKey; | ||
/** | ||
* @param {(Object|boolean)} arg1 | ||
* @param {...*} var_args | ||
* @return {Object} | ||
*/ | ||
$.extend = function(arg1, var_args) {}; | ||
/** | ||
* @param {(string|number|function())=} duration | ||
@@ -901,5 +793,2 @@ * @param {(function()|string)=} arg2 | ||
/** @see http://docs.jquery.com/Plugins/Authoring */ | ||
$.fn = $.prototype; | ||
/** | ||
@@ -929,17 +818,8 @@ * @param {(function(!jQuery.Event)|Object<string, *>)=} arg1 | ||
/** @const */ | ||
$.fx = {}; | ||
/** @type {number} */ | ||
jQuery.fx.interval; | ||
/** @type {number} */ | ||
$.fx.interval; | ||
/** @type {boolean} */ | ||
jQuery.fx.off; | ||
/** @type {boolean} */ | ||
$.fx.off; | ||
/** | ||
@@ -964,12 +844,2 @@ * @param {string} url | ||
* @param {string} url | ||
* @param {(Object<string,*>|string| | ||
* function(string,string,jQuery.jqXHR))=} data | ||
* @param {(function(string,string,jQuery.jqXHR)|string)=} success | ||
* @param {string=} dataType | ||
* @return {!jQuery.jqXHR} | ||
*/ | ||
$.get = function(url, data, success, dataType) {}; | ||
/** | ||
* @param {string} url | ||
* @param {(Object<string,*>| | ||
@@ -985,12 +855,2 @@ * function(Object<string,*>,string,jQuery.jqXHR))=} data | ||
* @param {string} url | ||
* @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 | ||
*/ | ||
$.getJSON = function(url, data, success) {}; | ||
/** | ||
* @param {string} url | ||
* @param {function(Node,string,jQuery.jqXHR)=} success | ||
@@ -1001,15 +861,5 @@ * @return {!jQuery.jqXHR} | ||
/** | ||
* @param {string} url | ||
* @param {function(Node,string,jQuery.jqXHR)=} success | ||
* @return {!jQuery.jqXHR} | ||
*/ | ||
$.getScript = function(url, success) {}; | ||
/** @param {string} code */ | ||
jQuery.globalEval = function(code) {}; | ||
/** @param {string} code */ | ||
$.globalEval = function(code) {}; | ||
/** | ||
@@ -1025,11 +875,2 @@ * @template T | ||
/** | ||
* @template T | ||
* @param {!Array<T>} arr | ||
* @param {function(*,number)} fnc | ||
* @param {boolean=} invert | ||
* @return {!Array<T>} | ||
*/ | ||
$.grep = function(arr, fnc, invert) {}; | ||
/** | ||
* @param {(string|Element)} arg1 | ||
@@ -1056,9 +897,2 @@ * @return {!jQuery} | ||
/** | ||
* @param {!Element} elem | ||
* @return {boolean} | ||
* @nosideeffects | ||
*/ | ||
$.hasData = function(elem) {}; | ||
/** | ||
* @param {(string|number|function(number,number))=} arg1 | ||
@@ -1080,5 +914,2 @@ * @return {(number|!jQuery)} | ||
/** @param {boolean} hold */ | ||
$.holdReady = function(hold) {}; | ||
/** | ||
@@ -1107,11 +938,2 @@ * @param {function(!jQuery.Event)} arg1 | ||
/** | ||
* @param {*} value | ||
* @param {Array<*>} arr | ||
* @param {number=} fromIndex | ||
* @return {number} | ||
* @nosideeffects | ||
*/ | ||
$.inArray = function(value, arr, fromIndex) {}; | ||
/** | ||
* @param {(jQuerySelector|Element|jQuery)=} arg1 | ||
@@ -1160,9 +982,2 @@ * @return {number} | ||
/** | ||
* @param {*} obj | ||
* @return {boolean} | ||
* @nosideeffects | ||
*/ | ||
$.isArray = function(obj) {}; | ||
/** | ||
* @param {Object} obj | ||
@@ -1175,9 +990,2 @@ * @return {boolean} | ||
/** | ||
* @param {Object} obj | ||
* @return {boolean} | ||
* @nosideeffects | ||
*/ | ||
$.isEmptyObject = function(obj) {}; | ||
/** | ||
* @param {*} obj | ||
@@ -1190,9 +998,2 @@ * @return {boolean} | ||
/** | ||
* @param {*} obj | ||
* @return {boolean} | ||
* @nosideeffects | ||
*/ | ||
$.isFunction = function(obj) {}; | ||
/** | ||
* @param {*} value | ||
@@ -1205,9 +1006,2 @@ * @return {boolean} | ||
/** | ||
* @param {*} value | ||
* @return {boolean} | ||
* @nosideeffects | ||
*/ | ||
$.isNumeric = function(value) {}; | ||
/** | ||
* @param {*} obj | ||
@@ -1224,19 +1018,5 @@ * @return {boolean} | ||
*/ | ||
$.isPlainObject = function(obj) {}; | ||
/** | ||
* @param {*} obj | ||
* @return {boolean} | ||
* @nosideeffects | ||
*/ | ||
jQuery.isWindow = function(obj) {}; | ||
/** | ||
* @param {*} obj | ||
* @return {boolean} | ||
* @nosideeffects | ||
*/ | ||
$.isWindow = function(obj) {}; | ||
/** | ||
* @param {Element} node | ||
@@ -1248,9 +1028,2 @@ * @return {boolean} | ||
/** | ||
* @param {Element} node | ||
* @return {boolean} | ||
* @nosideeffects | ||
*/ | ||
$.isXMLDoc = function(node) {}; | ||
/** @type {string} */ | ||
@@ -1383,8 +1156,2 @@ jQuery.prototype.jquery; | ||
/** | ||
* @param {*} obj | ||
* @return {Array<*>} | ||
*/ | ||
$.makeArray = function(obj) {}; | ||
/** | ||
* @param {(Array<*>|Object<string, *>)} arg1 | ||
@@ -1403,9 +1170,2 @@ * @param {(function(*,number)|function(*,(string|number)))} callback | ||
/** | ||
* @param {(Array<*>|Object<string, *>)} arg1 | ||
* @param {(function(*,number)|function(*,(string|number)))} callback | ||
* @return {Array<*>} | ||
*/ | ||
$.map = function(arg1, callback) {}; | ||
/** | ||
* @param {Array<*>} first | ||
@@ -1418,9 +1178,2 @@ * @param {Array<*>} second | ||
/** | ||
* @param {Array<*>} first | ||
* @param {Array<*>} second | ||
* @return {Array<*>} | ||
*/ | ||
$.merge = function(first, second) {}; | ||
/** | ||
* @param {(function(!jQuery.Event)|Object<string, *>)=} arg1 | ||
@@ -1503,8 +1256,2 @@ * @param {function(!jQuery.Event)=} handler | ||
/** | ||
* @param {boolean=} removeAll | ||
* @return {Object} | ||
*/ | ||
$.noConflict = function(removeAll) {}; | ||
/** | ||
* @return {function()} | ||
@@ -1516,8 +1263,2 @@ * @nosideeffects | ||
/** | ||
* @return {function()} | ||
* @nosideeffects | ||
*/ | ||
$.noop = function() {}; | ||
/** | ||
* @param {(jQuerySelector|Array<Element>|function(number)|jQuery)} arg1 | ||
@@ -1535,8 +1276,2 @@ * @return {!jQuery} | ||
/** | ||
* @return {number} | ||
* @nosideeffects | ||
*/ | ||
$.now = function() {}; | ||
/** | ||
* @param {(string|Object<string,*>)=} arg1 | ||
@@ -1602,9 +1337,2 @@ * @param {(string|function(!jQuery.Event))=} selector | ||
/** | ||
* @param {(Object<string, *>|Array<Object<string, *>>)} obj | ||
* @param {boolean=} traditional | ||
* @return {string} | ||
*/ | ||
$.param = function(obj, traditional) {}; | ||
/** | ||
* @param {jQuerySelector=} selector | ||
@@ -1640,10 +1368,2 @@ * @return {!jQuery} | ||
/** | ||
* @param {string} data | ||
* @param {(Element|boolean)=} context | ||
* @param {boolean=} keepScripts | ||
* @return {Array<Element>} | ||
*/ | ||
$.parseHTML = function(data, context, keepScripts) {}; | ||
/** | ||
* @param {string} json | ||
@@ -1655,8 +1375,2 @@ * @return {string|number|Object<string, *>|Array<?>|boolean} | ||
/** | ||
* @param {string} json | ||
* @return {Object<string, *>} | ||
*/ | ||
$.parseJSON = function(json) {}; | ||
/** | ||
* @param {string} data | ||
@@ -1668,8 +1382,2 @@ * @return {Document} | ||
/** | ||
* @param {string} data | ||
* @return {Document} | ||
*/ | ||
$.parseXML = function(data) {}; | ||
/** | ||
* @return {{left:number,top:number}} | ||
@@ -1689,14 +1397,3 @@ * @nosideeffects | ||
jQuery.post = function(url, data, success, dataType) {}; | ||
/** | ||
* @param {string} url | ||
* @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} | ||
*/ | ||
$.post = function(url, data, success, dataType) {}; | ||
/** | ||
* @param {(string|Element|jQuery|function(number,string))} arg1 | ||
@@ -1802,8 +1499,2 @@ * @param {(string|Element|jQuery)=} content | ||
/** | ||
* @param {...*} var_args | ||
* @return {function()} | ||
*/ | ||
$.proxy = function(var_args) {}; | ||
/** | ||
* @param {Array<Element>} elements | ||
@@ -1832,10 +1523,2 @@ * @param {string=} name | ||
/** | ||
* @param {Element} elem | ||
* @param {string=} queueName | ||
* @param {(Array<function()>|function())=} arg3 | ||
* @return {(Array<Element>|!jQuery)} | ||
*/ | ||
$.queue = function(elem, queueName, arg3) {}; | ||
/** | ||
* @param {function()} handler | ||
@@ -1878,9 +1561,2 @@ * @return {!jQuery} | ||
/** | ||
* @param {Element} elem | ||
* @param {string=} name | ||
* @return {!jQuery} | ||
*/ | ||
$.removeData = function(elem, name) {}; | ||
/** | ||
* @param {string} propertyName | ||
@@ -2024,7 +1700,2 @@ * @return {!jQuery} | ||
/** @type {Object<string, *>} | ||
* @deprecated Please try to use feature detection instead. | ||
*/ | ||
$.support; | ||
/** | ||
@@ -2036,8 +1707,2 @@ * @deprecated Please try to use feature detection instead. | ||
/** | ||
* @deprecated Please try to use feature detection instead. | ||
* @type {boolean} | ||
*/ | ||
$.support.boxModel; | ||
/** @type {boolean} */ | ||
@@ -2047,64 +1712,31 @@ jQuery.support.changeBubbles; | ||
/** @type {boolean} */ | ||
$.support.changeBubbles; | ||
/** @type {boolean} */ | ||
jQuery.support.cors; | ||
/** @type {boolean} */ | ||
$.support.cors; | ||
/** @type {boolean} */ | ||
jQuery.support.cssFloat; | ||
/** @type {boolean} */ | ||
$.support.cssFloat; | ||
/** @type {boolean} */ | ||
jQuery.support.hrefNormalized; | ||
/** @type {boolean} */ | ||
$.support.hrefNormalized; | ||
/** @type {boolean} */ | ||
jQuery.support.htmlSerialize; | ||
/** @type {boolean} */ | ||
$.support.htmlSerialize; | ||
/** @type {boolean} */ | ||
jQuery.support.leadingWhitespace; | ||
/** @type {boolean} */ | ||
$.support.leadingWhitespace; | ||
/** @type {boolean} */ | ||
jQuery.support.noCloneEvent; | ||
/** @type {boolean} */ | ||
$.support.noCloneEvent; | ||
/** @type {boolean} */ | ||
jQuery.support.opacity; | ||
/** @type {boolean} */ | ||
$.support.opacity; | ||
/** @type {boolean} */ | ||
jQuery.support.style; | ||
/** @type {boolean} */ | ||
$.support.style; | ||
/** @type {boolean} */ | ||
jQuery.support.submitBubbles; | ||
/** @type {boolean} */ | ||
$.support.submitBubbles; | ||
/** @type {boolean} */ | ||
jQuery.support.tbody; | ||
/** @type {boolean} */ | ||
$.support.tbody; | ||
/** | ||
@@ -2161,9 +1793,2 @@ * @param {(string|number|boolean|function(number,string))=} arg1 | ||
/** | ||
* @param {string} str | ||
* @return {string} | ||
* @nosideeffects | ||
*/ | ||
$.trim = function(str) {}; | ||
/** | ||
* @param {*} obj | ||
@@ -2176,9 +1801,2 @@ * @return {string} | ||
/** | ||
* @param {*} obj | ||
* @return {string} | ||
* @nosideeffects | ||
*/ | ||
$.type = function(obj) {}; | ||
/** | ||
* @param {(string|function(!jQuery.Event)|jQuery.Event)=} arg1 | ||
@@ -2205,8 +1823,2 @@ * @param {(function(!jQuery.Event)|boolean)=} arg2 | ||
/** | ||
* @param {Array<Element>} arr | ||
* @return {Array<Element>} | ||
*/ | ||
$.unique = function(arr) {}; | ||
/** | ||
* @deprecated Please use .on( "unload", handler ) instead. | ||
@@ -2243,10 +1855,2 @@ * @param {(function(!jQuery.Event)|Object<string, *>)} arg1 | ||
/** | ||
* Note: See jQuery.when(). | ||
* @param {*} deferred | ||
* @param {...*} deferreds | ||
* @return {!jQuery.Promise} | ||
*/ | ||
$.when = function(deferred, deferreds) {}; | ||
/** | ||
* @param {(string|number|function(number,number))=} arg1 | ||
@@ -2253,0 +1857,0 @@ * @return {(number|!jQuery)} |
@@ -282,3 +282,3 @@ /* | ||
*/ | ||
window.speechSynthesis; | ||
var speechSynthesis; | ||
@@ -285,0 +285,0 @@ |
{ | ||
"name": "google-closure-compiler", | ||
"version": "20150920.0.0", | ||
"version": "20151015.0.0", | ||
"description": "A JavaScript checker and optimizer", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -23,15 +23,11 @@ # [Google Closure Compiler](https://developers.google.com/closure/compiler/) | ||
### Using [Ant](http://ant.apache.org/) | ||
### Using [Maven](http://maven.apache.org/) | ||
1. Download the [Ant build tool](http://ant.apache.org/bindownload.cgi). | ||
1. Download [Maven](http://maven.apache.org/download.cgi). | ||
2. At the root of the source tree, there is an Ant file named ```build.xml```. | ||
To use it, navigate to the same directory and type the command | ||
2. Run `mvn -DskipTests` (omit the `-DskipTests` if you want to run all the | ||
unit tests too). | ||
``` | ||
ant jar | ||
``` | ||
This will produce a jar file called `target/closure-compiler-1.0-SNAPSHOT.jar`. | ||
This will produce a jar file called ```build/compiler.jar```. | ||
### Using [Eclipse](http://www.eclipse.org/) | ||
@@ -38,0 +34,0 @@ |
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
10140138
115
149486
504