Misko Hevery
|
60af19f0e1
|
refactor: rename all const to UPPER_CASE
Closes #3573
BREAKING CHANGE
Rename:
- `appComponentTypeToken` => `APP_COMPONENT`
- `coreDirectives` => `CORE_DIRECTIVES`
- `formDirectives` => `FORM_DIRECTIVES`
- `formInjectables` => `FORM_BINDINGS`
- `httpInjectables` => `HTTP_BINDINGS`
- `jsonpInjectables` => `JSONP_BINDINGS`
- `PROTO_CHANGE_DETECTOR_KEY` => `PROTO_CHANGE_DETECTOR`
- `appComponentRefPromiseToken` => `APP_COMPONENT_REF_PROMISE`
- `appComponentTypeToken` => `APP_COMPONENT`
- `undefinedValue` => `UNDEFINED`
- `formDirectives` => `FORM_DIRECTIVES`
- `DOCUMENT_TOKEN` => `DOCUMENT`
- `APP_ID_TOKEN` => `APP_ID`
- `MAX_IN_MEMORY_ELEMENTS_PER_TEMPLATE_TOKEN` => `MAX_IN_MEMORY_ELEMENTS_PER_TEMPLATE`
- `appBaseHrefToken` => `APP_BASE_HREF`
|
2015-08-13 21:18:31 +00:00 |
Matias Niemelä
|
7bf7ec6d9c
|
fix(router): ensure navigation via back button works
The router will now navigate and respect the current address value
accordingly whenever a popState event is handled.
Closes #2201
|
2015-08-03 22:24:57 +00:00 |
Matias Niemelä
|
60f38eab78
|
feat(router): add `back()` support to `MockLocationStrategy`
|
2015-08-03 22:24:57 +00:00 |
Brian Ford
|
011fab37af
|
fix(router): improve error for missing base href
Closes #3096
|
2015-07-17 14:00:04 -07:00 |
Brian Ford
|
e5de1f771a
|
refactor(router): refactor BrowserLocation into LocationStrategy
This makes it easy to mock browser location and paves the way to
implementing hash routing.
|
2015-06-22 16:14:24 -07:00 |
Brian Ford
|
cab1d0ef0f
|
feat(router): allow configuring app base href via token
|
2015-06-15 18:04:09 -07:00 |
Matias Niemelä
|
cdc7b03e67
|
fix(router): avoid two slash values between the baseHref and the path
|
2015-06-12 15:23:29 -07:00 |
Matias Niemelä
|
e372cc779d
|
fix(router): do not prepend the root URL with a starting slash
|
2015-06-12 15:23:29 -07:00 |
Jeff Cross
|
ba07f39347
|
refactor(router): convert to typescript
Fixes #2001
|
2015-06-02 11:06:44 -07:00 |