PolymerLabs / polydev

Automatic web components profiling in chrome devtools
123 stars 10 forks source link

polydev causing paper-dialog to fail. #27

Closed ranjeet-choudhary closed 7 years ago

ranjeet-choudhary commented 8 years ago

Uncaught TypeError: Cannot read property 'toString' of null

below is the code giving the issue: handler is null.

function patchEventTargetMethods(obj) { var addDelegate = obj.addEventListener; obj.addEventListener = function (eventName, handler) { var fn; //Ignore special listeners of IE11 & Edge dev tools, see https://github.com/angular/zone.js/issues/150 if (handler.toString() !== "[object FunctionWrapper]") {

rictic commented 7 years ago

This should be fixed in v0.0.7 which was just merged in #35 and published. Please file a new issue if you see any more problems like this.