Skip to content Skip to sidebar Skip to footer

Angular 2 Application Breaks When Htmlelement.prototype.addeventlistener Is Modified

I am trying to instrument an application using some JS monkey-patching. I am testing my monkey-patch using the Angular-JumpStart application. But when I try to do even the simplest

Solution 1:

Replacing HTMLElement with EventTarget works - I am not sure why though.


Post a Comment for "Angular 2 Application Breaks When Htmlelement.prototype.addeventlistener Is Modified"