mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-16 23:30:23 +00:00
chore(closure): add $routeProvider#redirectTo function parameters
Closes #5173
This commit is contained in:
parent
fbc5cf514b
commit
280b5ce3c0
1 changed files with 3 additions and 2 deletions
5
closure/angular.js
vendored
5
closure/angular.js
vendored
|
|
@ -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} */
|
||||
|
|
|
|||
Loading…
Reference in a new issue