8000 Uncaught TypeError: customEvent.initEvent is not a function in v0.1.5 · Issue #23 · GianlucaGuarini/Tocca.js · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Uncaught TypeError: customEvent.initEvent is not a function in v0.1.5 #23

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

Closed
sqal opened this issue Jul 4, 2015 · 3 comments
Closed

Comments

@sqal
Copy link
sqal commented Jul 4, 2015

Hi. Just noticed that Tocca.js in the latest version 0.1.5 throws the following error in the browser console:

Uncaught TypeError: customEvent.initEvent is not a function Tocca.js:83 (http://prntscr.com/7ooudi)

I checked prevous versions and 0.1.4 does not have this bug.

@sqal
Copy link
Author
sqal commented Jul 4, 2015

Oh and it looks like this error occurs only when we use jQuery to attach an event (tested with jQuery 1.11.3 and 2.1.4).

// Edit: It's completely broken when jQuery is loaded. Even addEventListener does not work because above error.

@allcode
Copy link
Contributor
allcode commented Jul 5, 2015

Fixed in pull request #24

@GianlucaGuarini
Copy link
Owner

thanks for raising up this issue ;)

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

3 participants
0