Brian Ford
6de68e2f1f
feat(compiler): assert that Component.style is an array
...
Part of #7481 (effort to improve error messages)
Closes #7559
2016-03-24 15:21:16 +00:00
Brian Ford
49527ab495
fix(ngFor): give more instructive error when binding to non-iterable
...
Before, you'd get an error like:
```
EXCEPTION: Cannot find a differ supporting object ‘[object Object]’ in [users in UsersCmp@2:14]
```
Now, you get:
```
EXCEPTION: Cannot find a differ supporting object ‘[object Object]’ of type 'Object'. Did you mean to bind ngFor to an Array? in [users in UsersCmp@2:14]
```
2016-03-24 15:21:16 +00:00
PatrickJS
cad693de0f
refactor(NgZoneImpl): ensure zone spec is available
...
trace could be true (in dev mode) while there is no long stack trace spec
Closes #7702
2016-03-22 18:46:12 +00:00
Brian Ford
06eaaf0ac5
chore(angular1_router): bump version to v0.2.0
2016-03-22 00:20:08 +00:00
Rob Wormald
967ae3e1b8
fix(common): remove @internal annotation on SwitchView
...
Closes #7657
2016-03-18 13:16:50 -07:00
Misko Hevery
d4e9b55fb6
fix: make sure that Zone does not show up in angular2.d.ts
...
Closes #7655
2016-03-18 19:41:30 +00:00
vsavkin
e1f8e54e34
feat(i18n): implement xmb serializer
2016-03-17 16:45:15 -07:00
vsavkin
2b165944ea
refactor(i18n): move message and id into a separate file
2016-03-17 16:45:15 -07:00
Misko Hevery
2f581ffc88
fix(router): RouterOutlet loads component twice in a race condition
...
Closes #7497
Closes #7545
2016-03-16 22:34:54 +00:00
Misko Hevery
310620fd12
chore: upgrade to new Zone.js API v0.6.2
...
BREAKING CHANGE
Removed deprecated API from NgZone
- `NgZone.overrideOnTurnStart`
- `NgZone.overrideOnTurnDone`
- `NgZone.overrideOnEventDone`
- `NgZone.overrideOnErrorHandler`
Rename NgZone API
- `NgZone.onTurnStart` => `NgZone.onUnstable`
- `NgZone.onTurnDone` => `NgZone.onMicrotaskEmpty`
- `NgZone.onEventDone` => `NgZone.onStable`
Closes #7345
2016-03-16 18:05:09 +00:00
Brian Ford
f9fb72fb0e
chore(core): remove @View annotation
...
Closes #7495
2016-03-14 23:26:20 +00:00
vsavkin
095db673c5
feat(i18n): implement a simple version of message extractor
...
Closes #7454
2016-03-14 21:50:00 +00:00
vsavkin
70d18b5b53
feat(compiler): change html parser to preserve comments
2016-03-14 21:50:00 +00:00
vsavkin
f1796d67f4
feat(facade): add .values to StringMapWrapper
2016-03-14 21:50:00 +00:00
Tobias Bosch
cb38d72ff4
feat(shadow_css): support /deep/ and >>>
...
Fixes #7562
Closes #7563
2016-03-11 22:14:26 +00:00
Matias Niemelä
b72bab49aa
feat(core): introduce a CSS lexer/parser
2016-03-11 13:54:01 -08:00
Shuhei Kagawa
c25b9fcf97
docs(core): update <content> to <ng-content>
2016-03-11 11:19:52 -08:00
Jay Kan
8755a8e188
docs(): fix typo
2016-03-11 11:18:59 -08:00
Alex Eagle
127fbfd5a6
Revert "feat(core): introduce a CSS lexer/parser"
...
This reverts commit 293fa5505b .
The rebased commit broke CI: https://travis-ci.org/angular/angular/jobs/115388814
2016-03-11 11:14:58 -08:00
Matias Niemelä
293fa5505b
feat(core): introduce a CSS lexer/parser
2016-03-11 10:42:29 -08:00
Kara Erickson
df1f78e302
feat(i18n): add ngPlural directive
2016-03-10 09:55:21 -08:00
Matias Niemelä
169869a195
test(matchers): add support for toMatchPattern in tests
2016-03-09 21:31:15 -08:00
Matias Niemelä
b691da26af
chore(facade): add enum index lookup support
2016-03-09 21:30:03 -08:00
Peter Bacon Darwin
8e3e45097a
fix(router): handle URL that does not match a route
...
Closes #7349
Closes #7203
2016-03-09 20:48:52 -08:00
vsavkin
128acbb6eb
fix(change_detection): fix a memory leak
2016-03-09 16:24:51 -08:00
Alex Eagle
5824866a83
fix(closure): don't throw from top-level
...
workaround for http://b/27151095
2016-03-09 16:22:35 -08:00
Peter Bacon Darwin
0d58b137a7
fix(router/instruction): ensure toLinkUrl includes extra params
...
Closes #7367
2016-03-09 16:21:43 -08:00
Misko Hevery
14f0e9ada8
chore: fix DDC errors / warnings
...
Closes #7195
2016-03-08 22:17:32 +00:00
asukaleido
41e38e4330
fix hammer_gestures infinite loop
2016-03-08 01:37:40 +00:00
PatrickJS
2c7c3e3c69
feat(TAG_DEFINITIONS): include <meta> and <base>
...
needed to parse index.html as a component template
Closes #7455
2016-03-08 01:03:20 +00:00