Victor Berchet
f95a604b59
fix(bootstrap): swap coreBootstrap() and coreLoadAndBootstrap() arguments
2016-05-23 17:57:28 -07:00
Victor Berchet
3ff20cd7e3
fix(core): fix build
2016-05-23 17:56:48 -07:00
Kevin-K
17f73cb7bc
docs(http): fix MockBackend example
...
imports & syntax error fix
Closes #7383
2016-05-23 17:22:36 -07:00
Brendan Wyse
fba0e2ff12
docs(browser.ts): update bootstrap injector override argument name
...
Closes #7387
2016-05-23 17:21:07 -07:00
Vamsi V
b62415c962
refactor(chore): remove unused mapToObject and objectToMap methods from serializer
...
resolves #7402
Closes #7416
2016-05-23 17:20:25 -07:00
Tom Schoener
adc135e6c8
refactor(async_pipe): use subscription strategy interface
...
The strategies for Promise and Observable based subscriptions
have (nearly) the same method signatures. They should implement
a common interface.
Closes #7573
2016-05-23 17:02:56 -07:00
Tero Parviainen
ceac045a7f
fix(compiler): have CSS parser support nested parentheses inside functions
...
Closes #7580
2016-05-23 16:58:15 -07:00
Ward Bell
0a872ffd38
feat(core/linker): add SimpleChanges type to lifecycle_hooks to simplify OnChanges signature
...
Closes #8557
2016-05-23 16:11:52 -07:00
Pete Boere
6f3a6a55a0
Update url_search_params.ts
...
Values need to be encoded on `toString()`
Closes #7686
2016-05-23 14:43:26 -07:00
Vamsi Varikuti
0795dd307b
refactor(chore): Replace all 'bindings' with 'providers'
...
BREAKING CHANGE
Deprecated `bindings:` and `viewBindings:` are replaced with
`providers:` and `viewProviders:`
Closes #7687
2016-05-23 13:31:08 -07:00
Vamsi Varikuti
49fb7ef421
refactor(router): Remove deprecated 'as' from ‘RouteConfig’
...
BREAKING CHANGE
Remove deprecated 'as' from ‘RouteConfig’ in favour of ‘name’
2016-05-23 13:24:36 -07:00
Peter Bacon Darwin
cbeeff2bd6
fix(Router): do not kill event-emitter on navigation failure
...
Closes #7692
Closes #7532
Closes #7692
2016-05-23 13:21:09 -07:00
Sebastian Hillig
ce013a3dd9
feat(regex_url_paths): add `regex_group_names` to handle consistency with serializers
...
By adding `regex_named_groups` to regex route configurations we can consistently map
regex matching groups to component parameters.
This should fix #7554 .
Closes #7694
2016-05-23 13:18:21 -07:00
Justin DuJardin
c43636f2bb
fix(di): type error in InvalidProviderError
...
- when trying to instantiate an injector with an unknown provider
Closes #7729
2016-05-23 13:08:10 -07:00
cjc343
9c2fe660a3
(docs) Fix pony greeting equivalence
...
Cheatsheet claims equivalence between two statements which are not equivalent
Closes #7761
2016-05-23 13:07:20 -07:00
laco0416
abc266fa35
feat(common): DatePipe supports ISO string
...
Closes #7794
2016-05-23 12:30:02 -07:00
kurt
7d853dd9ad
fix(router): ensuring MatchedUrl pass query params
2016-05-23 12:24:08 -07:00
Alex Eagle
666dc75c15
chore(lint): disallow duplicate imports from a module
...
Closes #7859
2016-05-20 15:59:33 -07:00
Pete Mertz
830aecd1a7
fix(router/parsing): change route rule error to say PascalCase instead of CamelCase
...
Closes #7874
2016-05-20 15:39:30 -07:00
Rene Weber
2bf21e1747
fix(Router): replace state when normalized path is equal to current normalized path
...
Make sure the same path is not added multiple times to the history.
It is replacing the state, instead of skipping it completely,
because the current path in the browser might not be normalized,
while the given one is normalized.
Closes #7829
Closes #7897
2016-05-20 15:30:15 -07:00
Pascal Precht
9105ab9596
docs(ng_control_group): update API docs syntax
...
Closes #7357
2016-05-20 13:19:08 -07:00
mgechev
165357bfa3
refactor(forms): remove useless imports
...
Remove useless imports and change `bindings` to `providers` inside
`@Component` and `@Directive`.
Closes #7904
2016-05-20 13:13:27 -07:00
Andrew
33c7f74cb9
style(platform/browser): fix type spacing
...
Closes #7980
2016-05-20 13:05:40 -07:00
alexcastillo
cb84cbf545
feat(shadow_css): add encapsulation support for CSS @supports at-rule
...
Closes #7944
2016-05-20 13:02:24 -07:00
Elliott Davis
b2e0946696
fix(Request): Change Request.text's return type to string
...
Change the return typing for the .text method to `string` so typescript treats it
like a normal string.
Closes #8138
2016-05-20 12:57:31 -07:00
Tobias Bosch
67c80fbb5e
fix(compiler): support string tokens with `.` inside.
...
Closes #8178
2016-05-20 12:56:02 -07:00
Igor Minar
9175a049d3
feat: add minified bundles
...
BREAKING CHANGE: bundles are now in the bundles/ subdirectory within each package
2016-05-20 11:00:49 -07:00
Igor Minar
0035575c82
build: turn on tsc's stripInternal when producint public d.ts file
...
I also made some changes to fix imports and remove some stuff that caused
breakage once stripInternals was turned on.
2016-05-20 10:59:57 -07:00
Drew Moore
1bff47f97d
docs: fix syntax errors in HostBinding metadata example
...
add missing parentheses to getters, remove erroneous brackets in HostBindings
Closes #8269
2016-05-20 10:56:11 -07:00
Victor Berchet
e8e61de28d
refactor(WebWorker): move XHR worker side
2016-05-20 10:48:55 -07:00
Victor Berchet
54f8308999
refactor(browser): merge static & dynamic platforms
2016-05-20 10:48:55 -07:00
PatrickJS
6c99746f0b
Update tools.ts
...
Closes #8296
2016-05-20 10:12:54 -07:00
PatrickJS
4086b49046
feat(enableDebugTools): return ComponentRef
...
allows for
```
bootstrap(App, [
...HTTP_PROVIDERS,
...ROUTER_PROVIDERS
])
.then(enableDebugTools)
```
without breaking the rule of always returning a value in a promise
2016-05-20 10:12:54 -07:00
PatrickJS
efe4633b15
refactor(empty.ts): typo ( #8398 )
...
emppty -> empty
2016-05-20 10:02:47 -07:00
Jake Garelick
19e65382f7
fix(core): accurate dev mode message for dart ( #8403 )
2016-05-20 10:01:39 -07:00
Yang Lin
c6f2b3e96b
docs(router): fix import and replace RouteConfig ( #8433 )
2016-05-20 10:00:04 -07:00
mgechev
55921be1af
fix(router-deprecated): export RootRoute
...
Fix #8449
Closes #8450
2016-05-20 09:59:21 -07:00
David Reher
9b1b5b393d
fix(angular1_router): ngLink should not throw an error if routeParams are undefined ( #8460 )
...
If routeParams are undefined, no href attribute should be rendered. This matches the behaviour of ngHref.
2016-05-20 09:48:03 -07:00
agpreynolds
3857c8226e
docs(MockConnection) update mockRespond usage example ( #8487 )
...
Closes : #8486
2016-05-20 09:19:59 -07:00
Dimitrios Loukadakis
595bcdd1ac
fix(router): browser back and forward buttons not working correctly.
...
Closes #8524
Closes #8532
2016-05-19 22:42:08 -07:00
Rob Wormald
aec95015f8
docs(http): update http docs to mention .map operator
...
Closes #5947
2016-05-19 22:15:26 -07:00
Fabian Raetz
90af4763d8
fix(angular1_router): delay view update until activate promise gets fullfilled
...
If the $routerOnActivate hook returns a promise, the navigation
is commited, once the promise gets fullfilled but the view
is updated immediately.
This commit delays the view update so that both (view and url) are
updated at the same time.
Closes #7777
2016-05-19 20:42:06 -07:00
gdi2290
390046d7b3
feat(AsyncPipe): allow onError argument
...
Closes #7990
2016-05-19 16:49:28 -07:00
PatrickJS
587c119c75
feat(NgZone): isStable
...
Closes #8108
2016-05-19 16:10:08 -07:00
Aliaksei Palkanau
3019140e7e
feat(http): set the statusText property from the XMLHttpRequest instance
...
Closes #4162
2016-05-19 15:58:59 -07:00
BeastCode
7a80f0d1e1
change property and event to use camel case
...
Closes #6580
2016-05-19 15:21:54 -07:00
BeastCode
0894318f50
change property and event to use camel case:
...
* some-property -> someProperty
* some-event -> someEvent
Closes #6609
2016-05-19 15:20:34 -07:00
William Welling
9019c6f937
Condition using component as well.
...
Closes #7755
2016-05-19 15:15:25 -07:00
William Welling
166b73f4f3
Condition using urlPath, component is null on UnresolvedException of child AsyncRoute.
2016-05-19 15:15:25 -07:00
Sekib Omazic
cb94111f18
style(Forms): remove unused imports
...
remove unused imports from the forms package
2016-05-19 14:50:33 -07:00