aboutsummaryrefslogtreecommitdiffstats
path: root/closure
diff options
context:
space:
mode:
authorDaniel Aden2013-11-01 22:49:43 -0700
committerIgor Minar2014-01-05 00:27:38 -0800
commitcaeb7402651702cd13df2f1594e9827439a8b760 (patch)
tree0ed481613035acbccfcdaed094954137940d41c1 /closure
parent1bb33cccbe12bda4c397ddabab35ba1df85d5137 (diff)
downloadangular.js-caeb7402651702cd13df2f1594e9827439a8b760.tar.bz2
fix(closure): add Closure externs for angular.$q.Promise.finally
Closes #4757
Diffstat (limited to 'closure')
-rw-r--r--closure/angular.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/closure/angular.js b/closure/angular.js
index abc05a15..bc04e0f9 100644
--- a/closure/angular.js
+++ b/closure/angular.js
@@ -1667,6 +1667,12 @@ angular.$q.Promise;
*/
angular.$q.Promise.then = function(successCallback, opt_errorCallback) {};
+/**
+ * @param {?function(?)} callback
+ * @return {angular.$q.Promise}
+ */
+angular.$q.Promise.finally = function(callback) {};
+
/******************************************************************************
* $route Service
*****************************************************************************/