Victor Berchet
1f6fd3c8fc
refactor: add types ( #9148 )
2016-06-11 21:23:37 -07:00
Matias Niemelä
55860e1621
fix(animations): ensure AUTO styles are cleared at the end of the state-change animation
...
Closes #9014
Closes #9015
2016-06-11 00:08:41 -07:00
Matias Niemelä
4d51158b1a
fix(animations): ensure the web-animations driver converts style props to camel-case
...
The web animations API now requires that all styles are converted to
camel case. Chrome has already made this breaking change and hyphenated
styles are not functional anymore.
Closes #9111
Closes #9112
2016-06-10 22:54:10 -07:00
Kara Erickson
7d9c1e1225
chore(forms): rename ngFormModel to formGroup
2016-06-10 19:10:17 -07:00
Kara Erickson
d53edfec47
chore(forms): rename ngFormControl to formControl
2016-06-10 17:28:19 -07:00
Victor Berchet
a6e5ddc5af
feat(ComponentResolver): Add a SystemJS resolver for compiled apps ( #9145 )
2016-06-10 16:31:34 -07:00
Kara Erickson
b866f32832
chore(forms): rename Control, ControlGroup, and ControlArray classes
2016-06-10 12:00:18 -07:00
Kara Erickson
97833d48c1
chore(templateOutlet): fix linting
2016-06-10 11:32:09 -07:00
Misko Hevery
9c0031f7a5
fix: broken build due to bad noImplicitAny merge
2016-06-10 10:35:36 -07:00
Shlomi Assaf
164a091c71
feat(NgTemplateOutlet): add context to NgTemplateOutlet
...
Closes #9042
2016-06-10 10:25:44 -07:00
Kara Erickson
4ed6cf7519
feat(forms): allow ngModel to register with parent form
2016-06-10 10:24:01 -07:00
Victor Berchet
5267115481
feat(I18N): generate error on unknown cases
...
fixes #9094
2016-06-10 08:45:59 -07:00
Victor Berchet
43148d8233
feat(HtmlLexer): add support for alphabetic cases
2016-06-10 08:45:59 -07:00
Vivek Ghaisas
537e99b4ea
fix(http): respect custom Content-Type header in XHRConnection ( #9131 )
...
Fix a bug due to which setting a custom Content-Type header in the
Request led to multiple Content-Types being set on the sent
XMLHttpRequest: first the detected content type based on the request
body, followed by the custom set content type.
Fix #9130 .
2016-06-10 08:18:49 -07:00
Rob Wormald
e1fcab777c
fix(ngSwitch): use switchCase instead of switchWhen ( #9076 )
2016-06-09 22:52:30 -07:00
Alex Eagle
f39c9c9e75
style(lint): re-format modules/@angular
2016-06-09 17:00:15 -07:00
Pawel Kozlowski
3aca5ff9e2
fix(compiler): properly report missing DI tokens ( #9065 )
...
Fixes #8245
2016-06-09 16:07:06 -07:00
Idir Ouhab Meskine
9146bb0816
docs(DatePipe): Update date doc reference in date_pipe.ts ( #9081 )
2016-06-09 16:05:13 -07:00
Pawel Kozlowski
0c9e8dbf60
docs(linker): document the injector argument as mandatory ( #9098 )
...
Fixes #8600
2016-06-09 16:03:42 -07:00
Chuck Jazdzewski
0658eb4429
fix(compiler): Added unit test to ReflectorHost and fixed issues ( #9052 )
...
Refactored ReflectorHost to allow it to be tested.
Fixed an issue where the .d.ts was findable but it wasn't used by the project
(This happens when the .metadata.json file references a module that was not
needed, such as it doesn't declare any types, and the reference to it was
elided by TypeScript when writing the .d.ts file).
Added tests for ReflectorHost
2016-06-09 14:51:53 -07:00
Chuck Jazdzewski
e178ee4ba0
fix(compiler): Added support for '* as m' style imports. ( #9077 )
...
Also includes fixes for broken test.
2016-06-09 13:23:29 -07:00
Martin Probst
729dc3b764
fix(security): support XSSI prefixes with and without commas.
...
Some implementations use an XSSI prefix with a trailing comma, some without.
This changes Angular to support both.
2016-06-09 11:32:07 -07:00
Victor Berchet
7ce0fc7d47
refactor: add types ( #9116 )
2016-06-09 11:04:15 -07:00
Martin Probst
346304762e
feat(security): document <iframe src> to be TRUSTED_URL.
...
Docs on the DomSanitizationService didn't match actual usage before.
Also fixes some minor docs and implementation issues.
2016-06-08 20:49:15 -07:00
Kara Erickson
e213939f28
chore(forms): fix implicit any
2016-06-08 17:08:59 -07:00
Kara Erickson
4c39eace52
feat(forms): add new forms folder
2016-06-08 16:41:08 -07:00
ScottSWu
86fbd50c3d
refactor(TypeScript): Add noImplicitAny
...
We automatically insert explicit 'any's where needed. These need to be
addressed as in #9100 .
Fixes #4924
2016-06-08 16:20:50 -07:00
Miško Hevery
87d824e1b4
fix: add typescript test for our typings ( #9096 )
...
* Revert "fix(d.ts): enable angular2 compilation with TS flag --strictNullChecks (#8902 )"
This reverts commit 7e352a27f7 .
* test: add typescript test for our typings
2016-06-08 16:06:23 -07:00
Kara Erickson
50acb96130
fix(forms): update value and validity when controls are added
...
Closes #8826
2016-06-08 14:06:20 -07:00
Igor Minar
29c2dcff61
fix(http): remove peerDep on @angular/common
...
it is not needed there because it will get transitively installed by @angular/platform-browser
we only need to declare this dependency in tsconfig.json because tsconfig.json's
do not support transitive dependencies in this way.
2016-06-08 12:20:42 -07:00