angular-docs-cn/modules/angular2/platform/testing
Brian Ford 75343eb340 feat(router): add regex matchers
@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
2016-03-02 16:08:19 -08:00
..
browser.ts feat(test): allow tests to specify the platform and application providers used 2016-01-13 02:11:06 +00:00
browser_static.ts feat(router): add regex matchers 2016-03-02 16:08:19 -08:00
server.dart feat(test): allow tests to specify the platform and application providers used 2016-01-13 02:11:06 +00:00
server.ts feat(router): add regex matchers 2016-03-02 16:08:19 -08:00