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

CustomEvent is not newable in IE11 #46

Open
iwate opened this issue Dec 1, 2014 · 0 comments
Open

CustomEvent is not newable in IE11 #46

iwate opened this issue Dec 1, 2014 · 0 comments

Comments

@iwate
Copy link

iwate commented Dec 1, 2014

Hi,
ripples.js is very good! However an error has occurred in IE11.

the error in line 48

rippleEnd           = new CustomEvent("rippleEnd", {detail: $ripple}),

IE11's CustomEvent is not able to new.
I add some code and use in my project.
It is following code and exec in if browser's CustomEvent is not newable.

rippleEnd = document.createEvent("CustomEvent");
rippleEnd.initCustomEvent("rippleEnd", false, false, { detail: $ripple });

for your information.

I thank you for reading my funny english through.

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

No branches or pull requests

1 participant