aboutsummaryrefslogtreecommitdiffstats
path: root/closure
diff options
context:
space:
mode:
authorDavid Bennett2013-11-27 10:58:20 -0600
committerPete Bacon Darwin2013-12-04 22:36:41 +0000
commit280b5ce3c069dc55d2c101a533390a1cdaddf493 (patch)
tree9b25f9abe76e360dbfa927037ce07d2fa691f9d4 /closure
parentfbc5cf514bea49f12c1ff1ff331c7cf54e92b670 (diff)
downloadangular.js-280b5ce3c069dc55d2c101a533390a1cdaddf493.tar.bz2
chore(closure): add `$routeProvider#redirectTo` function parameters
Closes #5173
Diffstat (limited to 'closure')
-rw-r--r--closure/angular.js5
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} */