10 Commits

Author SHA1 Message Date
Joey Perrott
d1ea1f4c7f build: update license headers to reference Google LLC ()
Update the license headers throughout the repository to reference Google LLC
rather than Google Inc, for the required license headers.

PR Close 
2020-05-26 14:26:58 -04:00
Joey Perrott
698b0288be build: reformat repo to new clang@1.4.0 ()
PR Close 
2020-04-14 12:08:36 -07:00
JiaLiPassion
f9d483e76e feat: add a temp solution to support passive event listeners. ()
Now Angular doesn't support add event listeners as passive very easily.
User needs to use `elem.addEventListener('scroll', listener, {passive: true});`
or implements their own EventManagerPlugin to do that.
Angular may finally support new template syntax to support passive event, for now,
this commit introduces a temp solution to allow user to define the passive event names
in zone.js configurations.

User can define a global varibale like this.

```
(window as any)['__zone_symbol__PASSIVE_EVENTS'] = ['scroll'];
```

to let all `scroll` event listeners passive.

PR Close 
2020-02-24 17:30:04 -08:00
Miško Hevery
e084835fb1 Revert "feat: support passive event options by defining global variables in zone.js config file ()"
This reverts commit d7d359e3eea93ab4165e69a3622cf4c7f448b56f.
2020-02-21 22:16:34 +00:00
JiaLiPassion
d7d359e3ee feat: support passive event options by defining global variables in zone.js config file ()
PR Close 
2020-02-21 09:06:26 -08:00
JiaLiPassion
a3c7ab99b7 feat: performance improvement for eventListeners ()
PR Close 
2020-02-03 08:40:49 -08:00
JiaLiPassion
2c402d5c99 fix(zone.js): handle MSPointer event correctly ()
Close 

PR Close 
2019-07-24 14:42:49 -07:00
JiaLiPassion
a182714703 fix(zone.js): should remove on symbol property after removeAllListeners ()
Close 

PR Close 
2019-07-24 14:35:37 -07:00
Paul Gschwendtner
60f58bf051 refactor: ensure zone.js can be built with typescript strict flag ()
As part of FW-1265, the `zone.js` package is made compatible
with the TypeScript `--strict` flag. Read more about the strict flag [here](https://www.typescriptlang.org/docs/handbook/compiler-options.html)

PR Close 
2019-07-18 14:21:26 -07:00
JiaLiPassion
5eb7426216 build: move zone.js to angular repo ()
PR Close 
2019-06-20 11:27:39 -07:00