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

Event testing, on-off, and live fixes #38

Merged
merged 4 commits into from
Aug 30, 2012
Merged

Event testing, on-off, and live fixes #38

merged 4 commits into from
Aug 30, 2012

Conversation

statianzo
Copy link
Collaborator

Last one for a bit. ;-)

Added some base tests for events.

Added on() and off() because these are a commonly used interface with any recent jQuery plugins.

Fixed issue #16. First, the selector property wasn't getting set, was always "", which is why live() was broken. Second, used apply() to invoke the callback passed to one() to ensure the proper "this" context and arguments.

@travisbot
Copy link

This pull request passes (merged f90d2c0 into 72ceaa0).

mythz added a commit that referenced this pull request Aug 30, 2012
Event testing, on-off, and live fixes
@mythz mythz merged commit a0fba74 into mythz:master Aug 30, 2012
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