Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Commit

Permalink
fix(closure): add Closure externs for angular.$q.Promise.finally
Browse files Browse the repository at this point in the history
Closes #4757
  • Loading branch information
bigcmos authored and IgorMinar committed Jan 5, 2014
1 parent 1bb33cc commit caeb740
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions closure/angular.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
*****************************************************************************/
Expand Down

0 comments on commit caeb740

Please sign in to comment.