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

Fix combo sequences that are not timing out #118

Merged
merged 2 commits into from
Jul 18, 2016

Conversation

zwalker
Copy link
Contributor

@zwalker zwalker commented Jul 14, 2016

The value of "this" being used previously was bound to the window and not to the keypress listener.

@@ -293,7 +293,7 @@ class keypress.Listener
# If we're working towards one, give them more time to keep going
clearTimeout(@_sequence_timer) if @_sequence_timer
if @sequence_delay > -1
@_sequence_timer = setTimeout ->
@_sequence_timer = setTimeout =>
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🙌 great catch, thank you.

@dmauro dmauro merged commit e5e9507 into dmauro:development Jul 18, 2016
@ClemensSchneider
Copy link

Is there a reason for keypress.js being removed from the repo with this PR? Seems like the currently published version 2.1.4 is broke because it is pointing to keypress.js as entry point which is now missing.. @dmauro

@zwalker
Copy link
Contributor Author

zwalker commented Dec 2, 2016 via email

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.

3 participants