George Kalpakas
74cb575219
fix(upgrade): correctly project content on downgraded components with structural directives ( #14274 )
...
Previously, downgraded component adapters were compiling and projecting the
contents of the template element instead of the link-element. This didn't make
any difference is most cases (as the elements are the same), but broke with
structural directives (e.g. `ngRepeat`), which compile the orginal (template)
element once and then create and link clones of it.
This commit fixes it by always compiling and projecting the contents of the
correct (link) element.
Fixes #14260
2017-02-09 10:07:11 -08:00
mgechev
059085b943
docs(compiler): incorrect method reference ( #14314 )
...
PR Close #14314
2017-02-08 20:23:36 -08:00
Gerd Jungbluth
8ab89153e0
docs(core): fix typo ( #14299 )
...
Replace `than` with `then`.
PR Close #14299
2017-02-08 20:23:36 -08:00
NFM
82923d8314
docs(router): fix typos ( #14213 )
...
PR Close #14213
2017-02-08 20:23:36 -08:00
Peter Bacon Darwin
6921b3d21d
docs(zone): fix whitespace around backtick code
...
If there is no leading empty line then the markdown renderers get confused.
2017-02-08 20:23:36 -08:00
Chuck Jazdzewski
9779f397b7
test(compiler): add integration like tests to compiler unit tests ( #14157 )
...
Closes PR #14157
PR Close #14157
2017-02-08 20:08:20 -08:00
George Kalpakas
5bb47db887
fix(upgrade): allow non-element selectors for downgraded components ( #14291 )
...
This affects the dynamic version of `upgrade` and makes it more consistent with
the static version, while removing an artificial limitation.
(This commit backports the fix from 9aafdc7 to 2.4.x.)
2017-02-07 10:02:11 -08:00
Miško Hevery
223b5eb367
chore(release): cut the 2.4.6 release
2017-02-02 19:18:08 -08:00
Miško Hevery
7e639aac15
fix: ngModel should use rxjs/symbol/observable to detect observable ( #14236 )
...
PR closes #14236
2017-02-02 19:18:08 -08:00
Dzmitry Shylovich
e641636624
fix(common): DatePipe parses input string if it's not a valid date in browser ( #13895 )
...
Closes #12334
Closes #13874
PR Close #13895
2017-02-02 19:18:08 -08:00
Dzmitry Shylovich
c409860a9f
refactor(common): remove isDate from facade ( #13895 )
2017-02-02 19:18:07 -08:00
Chuck Jazdzewski
a5b4af0fdd
fix(language-service): do not crash when Angular cannot be located ( #14123 )
...
Fixes #14122
PR Close #14123
2017-02-02 19:18:07 -08:00
Dzmitry Shylovich
d9420311ca
docs(forms): fix FormArray description ( #14094 )
...
Closes #14075
PR Close #14094
2017-02-02 18:50:40 -08:00
Toxicable
774e1db87c
fix(forms): Verify functions passed into async validators returns Observable or Promise ( #14053 )
2017-02-02 18:50:40 -08:00
Dzmitry Shylovich
109f0d16ef
fix(common): introduce isObservable method ( #14067 )
...
Closes #8848
PR Close #14067
2017-02-02 18:50:40 -08:00
Dzmitry Shylovich
71567d1eee
fix(common): add PopStateEvent interface ( #13400 )
...
Closes #13378
PR Close #13400
2017-02-02 18:50:40 -08:00
WilliamKoza
8882b86b54
fix(common) add interface PipeTransform to Async pipe ( #14049 )
...
PR Close #14049
2017-02-02 16:02:54 -08:00
Dzmitry Shylovich
0965636735
fix(router): fix CanActivateChild guard provided in a lazy loaded module ( #13989 )
...
Closes #12275
PR Close #13989
2017-02-02 16:02:54 -08:00
Dzmitry Shylovich
4d2901d480
fix(router): fix navigation from the root component ngOnInit hook ( #13932 )
...
Closes #13795
PR Close #13932
2017-02-02 16:02:54 -08:00
Dzmitry Shylovich
a047124e1a
fix(router): fix CanActivate redirect to the root on initial load ( #13929 )
...
Closes #13530
PR Close #13929
2017-02-02 16:02:54 -08:00
Dzmitry Shylovich
09e2d20e22
fix(forms): select shows blank line when nothing is selected in IE/Edge ( #13903 )
...
Closes #10010
PR Close #13903
2017-02-02 16:02:54 -08:00
Dzmitry Shylovich
0614289608
fix(platform-browser): remove style nodes on destroy ( #13744 )
...
Closes #11746
PR Close #13744
2017-02-02 16:02:53 -08:00
Dzmitry Shylovich
7c344a4e49
refactor(platform-browser): polishing ( #13744 )
2017-02-02 16:02:53 -08:00
Dzmitry Shylovich
250dbc4bc8
fix(core): add bootstrapped modules into platform modules list ( #13740 )
...
Closes #12015
PR Close #13740
2017-02-02 16:02:53 -08:00
Dimitri Benin
70bbdf55da
fix(testing): async/fakeAsync/inject/withModule helpers should pass through context to callback functions ( #13718 )
...
Make sure that context (`this`) that is passed to functions generated by test helpers is passed through to the callback functions. Enables usage of Jasmine's variable sharing system to prevent accidental memory leaks during test runs.
2017-02-02 16:02:53 -08:00
Dzmitry Shylovich
41b8d95fa7
fix(core): ViewContainerRef.indexOf doesn't throw error when empty ( #13220 )
...
PR Close #13220
2017-02-02 16:02:53 -08:00
Dzmitry Shylovich
1eece5046d
fix(http): remove dots from jsonp callback name ( #13219 )
...
PR Close #13219
2017-02-02 16:02:52 -08:00
Nuno Arruda
6c8b5dda87
style(docs): update copyright years ( #13736 )
2017-02-02 16:02:52 -08:00
Jason Aden
458ccc1aff
refactor(core): simplify ReflectiveInjector by removing code for Dart implementation ( #14126 )
...
ReflectiveInjector previously used two strategies for resolving dependencies. These
were to support the Dart implementation, but are no longer needed. A result of this
PR is there is no longer a 20 dependency limit and the generated code is smaller.
PR Close #14126
2017-02-02 16:01:04 -08:00
Igor Minar
07cfd8c432
docs: remove obsolete bundles/overview.md file ( #14132 )
2017-02-02 16:01:03 -08:00