Skip to content

Commit

Permalink
fix: use the correct WTF array to iterate over (#31208)
Browse files Browse the repository at this point in the history
PR Close #31208
  • Loading branch information
jahtalab authored and matsko committed Jul 11, 2019
1 parent 7c62a8f commit 9204de9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/zone.js/lib/browser/event-target-legacy.ts
Expand Up @@ -52,7 +52,7 @@ export function eventTargetLegacyPatch(_global: any, api: _ZonePrivate) {
}

// predefine all task.source string
for (let i = 0; i < WTF_ISSUE_555.length; i++) {
for (let i = 0; i < WTF_ISSUE_555_ARRAY.length; i++) {
const target: any = WTF_ISSUE_555_ARRAY[i];
const targets: any = globalSources[target] = {};
for (let j = 0; j < eventNames.length; j++) {
Expand Down

0 comments on commit 9204de9

Please sign in to comment.