diff options
| author | Jeff Cross | 2013-11-26 16:58:59 -0800 | 
|---|---|---|
| committer | Jeff Cross | 2013-11-26 18:34:11 -0800 | 
| commit | bcca80548dde85ffe3838c943ba8e5c2deb1c721 (patch) | |
| tree | 26fe869a86835e585710d524a5a0c67598b8c80f /closure | |
| parent | 736c8fbbae57a209f4ba570e38cc3bd0745a9569 (diff) | |
| download | angular.js-bcca80548dde85ffe3838c943ba8e5c2deb1c721.tar.bz2 | |
feat($attrs): add $attrs.$attr to externs so that it isn't renamed
This fixes the issue that any usage of $attr is broken after js compilation.
Diffstat (limited to 'closure')
| -rw-r--r-- | closure/angular.js | 9 | 
1 files changed, 9 insertions, 0 deletions
| diff --git a/closure/angular.js b/closure/angular.js index 0103c555..09e31723 100644 --- a/closure/angular.js +++ b/closure/angular.js @@ -226,6 +226,11 @@ angular.uppercase = function(s) {};  angular.Attributes;  /** + * @type {Object.<string, string>} + */ +angular.Attributes.$attr; + +/**   * @param {string} name   * @return {string}   */ @@ -1578,6 +1583,7 @@ angular.$q.when = function(value) {};   * @typedef {{   *   resolve: function(*=),   *   reject: function(*=), + *   notify: function(*=),   *   promise: angular.$q.Promise   *   }}   */ @@ -1589,6 +1595,9 @@ angular.$q.Deferred.resolve = function(opt_value) {};  /** @param {*=} opt_reason */  angular.$q.Deferred.reject = function(opt_reason) {}; +/** @param {*=} opt_value */ +angular.$q.Deferred.notify = function(opt_value) {}; +  /** @type {angular.$q.Promise} */  angular.$q.Deferred.promise; | 
