-
Notifications
You must be signed in to change notification settings - Fork 20.5k
Deferred: Make jQuery.when synchronous when possible #3105
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
Conversation
| validate = function() { | ||
| assert.equal( when, "before" ); | ||
| }, | ||
| done = assert.async( 5 ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I always forget you can do this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Didn't it require a QUnit update?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We've only had it since January. It was added in QUnit 1.20.
|
I'm okay with it. It actually simplifies the docs and upgrade guide I think? |
|
I think so, just by virtue of changing less. |
|
I guess I'm okay with this. |
|
Great! Eager to run the spec suite of Parsley with this in. Thanks for the consideration and good discutions 😄 |
Closes gh-3102
Fixes gh-3100
I'm ambivalent about this, but it doesn't cost much.