angular-docs-cn/modules/angular2/test/router
Vamsi V 7d83959be5 refactor(router): rename "as" to "name" in RouteConfig
BREAKING CHANGE:

This is a rename to make routing concepts easier to understand.

Before:

```
@RouteConfig([
  { path: '/', component: MyCmp, as: 'Home' }
])
```

After:

```
@RouteConfig([
  { path: '/', component: MyCmp, name: 'Home' }
])
```

Closes #4622

Closes #4896
2015-10-29 10:52:55 -07:00
..
integration refactor(router): rename "as" to "name" in RouteConfig 2015-10-29 10:52:55 -07:00
location_spec.ts fix(router): respect LocationStrategy when constructing hrefs in links 2015-10-27 10:45:49 +00:00
path_recognizer_spec.ts refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
route_config_spec.dart style(dart): Run dartfmt v0.1.8+2 on all pure Dart code 2015-07-28 12:44:03 -07:00
route_config_spec.ts refactor(router): rename "as" to "name" in RouteConfig 2015-10-29 10:52:55 -07:00
route_recognizer_spec.ts refactor(router): rename "as" to "name" in RouteConfig 2015-10-29 10:52:55 -07:00
route_registry_spec.ts refactor(router): rename "as" to "name" in RouteConfig 2015-10-29 10:52:55 -07:00
router_link_spec.ts refactor(router): RouteData as a type 2015-10-27 14:23:44 +00:00
router_spec.ts refactor(router): rename "as" to "name" in RouteConfig 2015-10-29 10:52:55 -07:00
spies.dart refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
spies.ts refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
url_parser_spec.ts test(router): add missing tests for the url parser 2015-10-13 12:06:22 -07:00