we are using a third-party library (i.e. https://cdn1-sandbox.affirm.com/js/v2/affirm.js ) that wraps addEventListener that is throwing a TypeError-exception (in javascript script-mode) since can-zone@0.6.17.
the TypeError-exception that i am seeing (in chrome-browser) is...
TypeError: Cannot assign to read only property 'addEventListener' of object '#<HTMLDivElement>'
can-zone@0.6.17 switched from simple-assignment to Object.defineProperty() (in register.js) but did not enable the writable-flag, so the third-party library could not also wrap addEventListener in strict-mode.
we are using a third-party library (i.e. https://cdn1-sandbox.affirm.com/js/v2/affirm.js ) that wraps
addEventListener
that is throwing a TypeError-exception (in javascript script-mode) sincecan-zone@0.6.17
.the TypeError-exception that i am seeing (in chrome-browser) is...
can-zone@0.6.17
switched from simple-assignment toObject.defineProperty()
(inregister.js
) but did not enable thewritable
-flag, so the third-party library could not also wrapaddEventListener
in strict-mode.