8899b83927
chore(typescript): Enabled noFallthroughCasesInSwitch
...
Turned on the noFallthroughCasesInSwitch flag in tsconfig and fixed
a few cases where there were fallthroughs.
2016-06-22 16:08:55 -07:00
f6a410a4a8
feat(QueryList): implement some() ( #9464 )
...
closes #9443
2016-06-22 13:13:31 -07:00
3d5bb23184
fix(Compiler): relax childIsRecursive check ( #8705 )
...
Fix how the compiler checks for recursive components by also considering
component descendants. Previously, it only checked if the current
component was evaluated previously. This failed in certain cases of
mutually recursive components, causing `createAsync` in tests to not
resolve.
closes [7084](https://github.com/angular/angular/issues/7084 )
2016-06-22 07:02:11 -07:00
758ee95880
fix(router): fix tsconfig to use es2015 modules
2016-06-21 23:19:26 -07:00
40e1112a8e
chore(router): test karma config to rerun tests on change
2016-06-21 23:19:26 -07:00
397f5e2390
refactor(HtmlLexer): simplify the code
2016-06-21 18:03:22 -07:00
1a212259af
refactor: cleanup lexers & parsers
2016-06-21 18:03:22 -07:00
f114dd300b
fix(core): properly report missing providers and viewProviders ( #9411 )
...
Fixes #8237
2016-06-21 17:27:27 -07:00
15911367a2
refactor(router): removes a circualr dep
2016-06-21 12:17:30 -07:00
8dd3f59c81
chore(router): changes the router setup to align with other modules
2016-06-21 12:17:30 -07:00
c9d28492b7
chore(router): remove lint and format tasks from router
2016-06-21 12:17:30 -07:00
d1f93072a8
chore(router): clang-format
2016-06-21 12:17:30 -07:00
92d8bf9619
feat(router): add support for componentless routes
2016-06-21 12:17:30 -07:00
bd2281e32d
fix(resolve): change resolve not to resolve root activate route
2016-06-21 12:17:30 -07:00
0c50bc6449
fix(router): url serializer should handle segments without primary children
2016-06-21 12:17:30 -07:00
f164715678
chore(README): fix a typo
2016-06-21 12:17:30 -07:00
2aa615b4ae
chore(router): bump up version
2016-06-21 12:17:30 -07:00
42c89b1b9b
docs(router): add a README to include a link to the guide
2016-06-21 12:17:30 -07:00
f6b75f56ad
fix(router): typo in starts with slash validation error
2016-06-21 12:17:30 -07:00
280540e4a2
fix(router): change serialize not to require parenthesis in query string to be encoded
2016-06-21 12:17:30 -07:00
fea216db12
fix(router): fixes a type issue in a test
2016-06-21 12:17:30 -07:00
b260eb06f6
fix(router): change postinstall hook to devsetup to not require having 'typings' installed
2016-06-21 12:17:30 -07:00
1c937a10f9
chore(router): add changelog
2016-06-21 12:17:30 -07:00
ca23b4c55f
feat(router): add route config validation
2016-06-21 12:17:30 -07:00
7e12208ca6
feat(router): do not support paths starting with /
2016-06-21 12:17:30 -07:00
2773281338
feat(router): drop index property
...
Use path: '/' instead of 'index: true'
2016-06-21 12:17:30 -07:00
f8e8d22e4e
fix(router): stringify positional parameters when using routerLink
2016-06-21 12:17:30 -07:00
cf4a9236b9
chore(router): bump up version number
2016-06-21 12:17:30 -07:00
4450e7b246
cleanup(router): enable noImplicitAny and noImplicntReturns
2016-06-21 12:17:30 -07:00
cdbf67ee05
test(router): add a test checking that guards work for child routes
2016-06-21 12:17:30 -07:00
9a67f38728
fix(router): port fixes done on angular current router to the new one
...
The bugs were fixed on current angular router in the following commits:
angular/angular@b2a7fd05cb
angular/angular@fa2ce8100b
angular/angular@595bcdd1ac
Closes #12
2016-06-21 12:17:30 -07:00
25560ed048
feat(router): implement RouterLinkActive
2016-06-21 12:17:30 -07:00
2aa19fd078
feat(router): support navigating by url tree
2016-06-21 12:17:30 -07:00
cca9a58ded
chore(router): bump up version number
2016-06-21 12:17:30 -07:00
d6a25325c7
chore(package): unpin version
2016-06-21 12:17:30 -07:00
a717da2d3e
chore(router): bump up version number
2016-06-21 12:17:30 -07:00
b3e801ed9e
feat(router): make it work with TypeScript 1.8
2016-06-21 12:17:30 -07:00
3683fb6886
refactor(router): minor refactoring
2016-06-21 12:17:30 -07:00
3bd0ce291e
feat(router): mark the index property as deprecated
...
Use {path: '', component: A} instead of {index: true, component: A}
}#
2016-06-21 12:17:30 -07:00
523fc5536c
fix(router): fix Params type to allow passing any value types when calling router.navigate
2016-06-21 12:17:30 -07:00
f5efccfb44
test(router): test update location when route does not change
2016-06-21 12:17:30 -07:00
b6ec22de6b
test(router): test empty url with global redirect
2016-06-21 12:17:30 -07:00
15f27b5455
fix(providers): make providers static analysis friendly
2016-06-21 12:17:30 -07:00
127401598b
feat(router): implement terminal
2016-06-21 12:17:30 -07:00
503b07f698
docs(router): add a README
2016-06-21 12:17:30 -07:00
f0a6329005
fix(router): fixes a typo
2016-06-21 12:17:30 -07:00
2982892acc
cleanup(router): clang-format
2016-06-21 12:17:30 -07:00
9de56481f1
feat(router): add enableTracing option
2016-06-21 12:17:30 -07:00
777eb2f159
feat(router): emit an event when routes are recognized
2016-06-21 12:17:30 -07:00
05eebe0fed
feat(router): provide meaningful toString impls
2016-06-21 12:17:30 -07:00