Badly initialized object #768

Closed
marcandre opened this Issue Mar 11, 2015 · 2 comments

Comments

Projects
None yet
2 participants
@marcandre

The following code produces an error:

(new Hammer(document.body)).off('swipeleft', function(){})
//=> TypeError: Cannot read property 'splice' of undefined
@sculove

This comment has been minimized.

Show comment
Hide comment
@sculove

sculove Mar 17, 2015

Contributor

When you didn't attach an event, you will see this error.
I think that Hammerjs has to handle exception.

I pushed codes that fix it.
#770

Contributor

sculove commented Mar 17, 2015

When you didn't attach an event, you will see this error.
I think that Hammerjs has to handle exception.

I pushed codes that fix it.
#770

@sculove

This comment has been minimized.

Show comment
Hide comment
@sculove

sculove Aug 10, 2015

Contributor

I resend pr that separate unrelated changes
#839

Contributor

sculove commented Aug 10, 2015

I resend pr that separate unrelated changes
#839

@arschmitz arschmitz closed this in da49a27 Nov 11, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment