Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add CustomEvent Polyfill for better IE support #36

Merged
merged 1 commit into from
Apr 16, 2017

Conversation

csgulyas
Copy link

In IE the code raises an error when creating a CustomEvent:

TypeError: Object doesn't support this action

The code tries to account for this by checking if CustomEvent exists on the window object, which it does in IE, but not as a function as it is invoked.

@marcelodolza
Copy link
Owner

Thanks for your contribution @csgulyas.

@marcelodolza marcelodolza merged commit c681ff9 into marcelodolza:master Apr 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants