75343eb340
@petebacondarwin deserves credit for most of this commit. This allows you to specify a regex and serializer function instead of the path DSL in your route declaration. ``` @RouteConfig([ { regex: '[a-z]+.[0-9]+', serializer: (params) => `{params.a}.params.b}`, component: MyComponent } ]) class Component {} ``` Closes #7325 Closes #7126
10 lines
335 B
Dart
10 lines
335 B
Dart
library angular2.test.router.route_config_spec;
|
|
|
|
/**
|
|
* This is intentionally left blank. `route_config_spec.ts` contains tests specific
|
|
* to using untyped objects for users writing idiomatic ES5 or TS.
|
|
* The rest of the router tests have typed annotations, so there's no need to add
|
|
* additional tests here for Dart.
|
|
*/
|
|
main() {}
|