Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Core: Bind theblur event just once inequalTo rule#1709

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
staabm merged 1 commit intojquery-validation:masterfromArkni:equalTo-blur-event
Feb 13, 2016

Conversation

Arkni
Copy link
Member

bind the event just once, avoiding the unbind-rebind overhead.
Also, unbind it when destroying the plugin.

Ref#1704
Ref#1707

@staabm
Copy link
Member

@Arkni do you consider adding a unit test? I am also ok to land this as is.

@RoBorg could you confirm that this patch fixes the issue you observed?

@RoBorg
Copy link

@staabm yup that will fix it

@Arkni
Copy link
MemberAuthor

@staabm I will try to extenddestroy's unit test.

@Arkni
Copy link
MemberAuthor

I added some tests :)

@staabm
Copy link
Member

Nice. Did you make sure the tests fail without the patch?

bind the event just once, avoiding the unbind-rebind overhead.Also, unbind it when destroying the plugin.Refjquery-validation#1704Refjquery-validation#1707
@Arkni
Copy link
MemberAuthor

Yep, I did :)

@staabmstaabm merged commitef22360 intojquery-validation:masterFeb 13, 2016
@staabm
Copy link
Member

merged thx. not sure why git wasnt able to fast forward it... required a merged commit..

@ArkniArkni deleted the equalTo-blur-event branchFebruary 13, 2016 11:58
@Arkni
Copy link
MemberAuthor

I'm not sure why this happen.

TheGit's docs give us a good reason:

Because the commit on the branch you’re on isn’t a direct ancestor of the branch you’re merging in, Git has to do some work. In this case, Git does a simple three-way merge, using the two snapshots pointed to by the branch tips and the common ancestor of the two.

@Arkni
Copy link
MemberAuthor

If you want, you can reset the master and delete the last 2 commit (including the merge commit) and I will create another PR based on new master.

@staabm
Copy link
Member

No worries, its fine

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@Arkni@staabm@RoBorg

[8]ページ先頭

©2009-2025 Movatter.jp