Skip to content
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.

check in a loop needed #7

Open
cekvenich opened this issue Dec 30, 2019 · 0 comments
Open

check in a loop needed #7

cekvenich opened this issue Dec 30, 2019 · 0 comments

Comments

@cekvenich
Copy link

This is my 'main' lib to use. When used standalone, works. Some polyfills, like web components, break it. So in my local copy I changed line 82 and 83 form:

for (i in listeners) { listeners[i].callback(data)

to:
for (i in listeners) { if(listeners[i].callback) listeners[i].callback(data)

Let me know if you would like the PR.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant