You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2024. It is now read-only.
When addEventListener is called in strict mode, var target = isWebWorker() && !this ? self : this would evaluate to undefined in patchEventTargetMethods() resulting in an error.
Notes:
in non strict mode, this would be set to window and there would be no error,
window.addEventListener() would work in both strict & non-strict mode.
When
addEventListener
is called in strict mode,var target = isWebWorker() && !this ? self : this
would evaluate toundefined
inpatchEventTargetMethods()
resulting in an error.Notes:
this
would be set towindow
and there would be no error,window.addEventListener()
would work in both strict & non-strict mode./ref angular/angular#4531
The text was updated successfully, but these errors were encountered: