Skip to content

Commit 888bb27

Browse files
JiaLiPassionmgechev
authored andcommitted
refactor: rename Zone 'BLACK_LISTED_EVENTS' to 'UNPATCHED_EVENTS'
1 parent 9a1f48f commit 888bb27

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/schematics/angular/application/files/src/polyfills.ts.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
*
4444
* (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
4545
* (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
46-
* (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
46+
* (window as any).__zone_symbol__UNPATCHED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
4747
*
4848
* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js
4949
* with the following flag, it will bypass `zone.js` patch for IE/Edge

tests/legacy-cli/e2e/assets/1.7-project/src/polyfills.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ import 'core-js/es7/reflect';
5959

6060
// (window as any).__Zone_disable_requestAnimationFrame = true; // disable patch requestAnimationFrame
6161
// (window as any).__Zone_disable_on_property = true; // disable patch onProperty such as onclick
62-
// (window as any).__zone_symbol__BLACK_LISTED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
62+
// (window as any).__zone_symbol__UNPATCHED_EVENTS = ['scroll', 'mousemove']; // disable patch specified eventNames
6363

6464
/*
6565
* in IE/Edge developer tools, the addEventListener will also be wrapped by zone.js

0 commit comments

Comments
 (0)