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.
Copy file name to clipboardExpand all lines: lib/utils.js
+17-15Lines changed: 17 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -92,22 +92,24 @@ function patchEventTargetMethods(obj) {
92
92
varaddDelegate=obj.addEventListener;
93
93
obj.addEventListener=function(eventName,handler){
94
94
varfn;
95
-
96
-
if(handler.handleEvent){
97
-
// Have to pass in 'handler' reference as an argument here, otherwise it gets clobbered in
98
-
// IE9 by the arguments[1] assignment at end of this function.
99
-
fn=(function(handler){
100
-
returnfunction(){
101
-
handler.handleEvent.apply(handler,arguments);
102
-
};
103
-
})(handler);
104
-
}else{
105
-
fn=handler;
106
-
}
95
+
//Ignore special listeners of IE11 & Edge dev tools, see https://github.com/angular/zone.js/issues/150
0 commit comments