diff options
| author | David Bennett | 2013-11-27 10:58:20 -0600 |
|---|---|---|
| committer | Pete Bacon Darwin | 2013-12-04 22:36:41 +0000 |
| commit | 280b5ce3c069dc55d2c101a533390a1cdaddf493 (patch) | |
| tree | 9b25f9abe76e360dbfa927037ce07d2fa691f9d4 | |
| parent | fbc5cf514bea49f12c1ff1ff331c7cf54e92b670 (diff) | |
| download | angular.js-280b5ce3c069dc55d2c101a533390a1cdaddf493.tar.bz2 | |
chore(closure): add `$routeProvider#redirectTo` function parameters
Closes #5173
| -rw-r--r-- | closure/angular.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/closure/angular.js b/closure/angular.js index 0e520c53..d39b2ab8 100644 --- a/closure/angular.js +++ b/closure/angular.js @@ -1709,7 +1709,8 @@ angular.$routeProvider.when = function(path, route) {}; * resolve: (Object.<string, ( * string|Function|Array.<string|Function>|angular.$q.Promise * )>|undefined), - * redirectTo: (string|function()|undefined), + * redirectTo: ( + * string|function(Object.<string>, string, Object): string|undefined), * reloadOnSearch: (boolean|undefined) * }} */ @@ -1732,7 +1733,7 @@ angular.$routeProvider.Params.templateUrl; */ angular.$routeProvider.Params.resolve; -/** @type {string|function()} */ +/** @type {string|function(Object.<string>, string, Object): string} */ angular.$routeProvider.Params.redirectTo; /** @type {boolean} */ |
