mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-01 12:33:37 +08:00
revert: fix(closure): add Closure externs for angular.$q.Promise.finally
This reverts commit caeb740265.
The commit breaks Google apps because most don't use closure compiler
with the ES5 mode flag on. We are investigating a solution...
This commit is contained in:
6
closure/angular.js
vendored
6
closure/angular.js
vendored
@@ -1667,12 +1667,6 @@ 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
|
||||
*****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user