JiaLiPassion
d8be830fce
fix: resolve event listeners not correct when registered outside of ngZone ( #33711 )
...
Close #33687 .
PR Close #33711
2019-11-11 14:00:31 -08:00
JiaLiPassion
44623a1161
feat: add a flag in bootstrap to enable coalesce event change detection to improve performance ( #30533 )
...
PR Close #30533
2019-11-05 18:58:25 +00:00
Matias Niemelä
082aed6e46
revert: feat: add a flag in bootstrap to enable coalesce event change detection to improve performance ( #30533 ) ( #33230 )
...
This reverts commit 21c1e14385
.
PR Close #33230
2019-10-17 12:50:04 -04:00
JiaLiPassion
21c1e14385
feat: add a flag in bootstrap to enable coalesce event change detection to improve performance ( #30533 )
...
PR Close #30533
2019-10-16 14:38:36 -04:00
Kara Erickson
89434e09c2
refactor(core): move Meta methods that only have one version from DomAdapter ( #32408 )
...
PR Close #32408
2019-09-03 11:59:39 -07:00
Misko Hevery
8a47b48912
refactor: Move `dom_adapter.ts` to `@angular/common` ( #32154 )
...
This work is needed in preparation for turning tokens into tree-shakable injectables.
PR Close #32154
2019-08-29 21:51:56 -07:00
Kara Erickson
f3e4cb491e
refactor(core): remove testing-only event utilities from DomAdapters ( #32291 )
...
PR Close #32291
2019-08-28 17:10:30 -07:00
Kara Erickson
c0680602f9
refactor(core): remove testing-only childNodes() and firstChild() fns from DomAdapters ( #32291 )
...
PR Close #32291
2019-08-28 17:10:30 -07:00
Matias Niemelä
76a6eacb4e
refactor(ivy): rename "blacklist" to "blocklist" ( #28536 )
...
PR Close #28536
2019-02-05 14:06:15 -05:00
Vikram Subramanian
b96a3c8def
fix(platform-server): avoid clash between server and client style encapsulation attributes ( #24158 )
...
Previously the style encapsulation attributes(_nghost-* and _ngcontent-*) created on the server could overlap with the attributes and styles created by the client side app when it botstraps. In case the client is bootstrapping a lazy route, the client side styles are added before the server-side styles are removed. If the components on the client are bootstrapped in a different order than on the server, the styles generated by the client will cause the elements on the server to have the wrong styles.
The fix puts the styles and attributes generated on the server in a completely differemt space so that they are not affected by the client generated styles. The client generated styles will only affect elements bootstrapped on the client.
PR Close #24158
2018-05-30 14:28:14 -07:00
Chuck Jazdzewski
8449eb8d62
build: upgrade to TypeScript 2.7 ( #22669 )
...
Fixes : #21571
PR Close #22669
2018-03-12 09:27:23 -07:00
Misko Hevery
533a010b28
build(platform-browser): exclude node incompatible tests from :test target. ( #21053 )
...
PR Close #21053
2017-12-22 13:10:51 -08:00
Misko Hevery
47e251a80a
build: remove `main()` from specs ( #21053 )
...
PR Close #21053
2017-12-22 13:10:51 -08:00
Miško Hevery
ba850b36de
Revert "fix(core): should use native addEventListener in ngZone ( #20672 )"
...
This reverts commit 65a2cb8307
.
2017-11-29 14:56:29 -06:00
JiaLi.Passion
65a2cb8307
fix(core): should use native addEventListener in ngZone ( #20672 )
...
PR Close #20672
2017-11-28 22:27:25 -06:00
JiaLi.Passion
a740e4f00a
fix(core): fix #20532 , should be able to cancel listener from mixed zone ( #20538 )
...
PR Close #20538
2017-11-21 11:49:36 -06:00
JiaLi.Passion
997336b790
fix(core): should support event.stopImmediatePropagation ( #20469 )
...
PR Close #20469
2017-11-16 22:43:53 -06:00
Jason Aden
2586846ee2
Revert "fix(core): should support event.stopImmediatePropagation"
...
This reverts commit 5e0eb5e3d94bd7077c4d6657b89bfc8d900f2bc6.
2017-11-15 11:35:21 -08:00
JiaLiPassion
200d92d030
fix(core): should support event.stopImmediatePropagation ( #19222 )
2017-11-03 15:22:05 -07:00
JiaLi.Passion
d52f42688a
fix(platform-browser): run BLACK_LISTED_EVENTS outside of ngZone ( #18993 )
...
PR Close #18993
2017-09-05 15:33:22 -05:00
JiaLi.Passion
ed1175f27e
fix(platform-browser): simple version of zone aware addEventListener ( #18993 )
...
PR Close #18993
2017-09-05 15:33:22 -05:00
Chuck Jazdzewski
1640d2aa0b
refactor(platform-browser): compiler platform-browser packages cleanly ( #18464 )
2017-08-02 16:30:50 -07:00
Miško Hevery
6279e50d78
perf(core): use native addEventListener for faster rendering. ( #18107 )
...
Angular can make many assumptions about its event handlers. As a result
the bookkeeping for native addEventListener is significantly cheaper
than Zone's addEventLister which can't make such assumptions.
This change bypasses the Zone's addEventListener if present and always
uses the native addEventHandler. As a result registering event listeners
is about 3 times faster.
PR Close #18107
2017-07-25 15:35:44 -05:00
Miško Hevery
728c9d0632
fix(platform-browser): Update types for TypeScript nullability support
...
Closes #15898
2017-04-18 12:07:33 -07:00
Jason Aden
8573e36574
build: fix file paths after moving modules/@angular/* to packages/*
2017-03-08 16:29:28 -08:00
Jason Aden
3e51a19983
refactor: move angular source to /packages rather than modules/@angular
2017-03-08 16:29:27 -08:00