fix(closure): add Closure externs for angular.$q.Promise.finally

Closes #4757
This commit is contained in:
Daniel Aden 2013-11-01 22:49:43 -07:00 committed by Igor Minar
parent 1bb33cccbe
commit caeb740265

6
closure/angular.js vendored
View file

@ -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
*****************************************************************************/