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

Ajax: Warn and fill the jQXHR .success, .error, and .complete methods #162

Closed
wants to merge 2 commits into from

Conversation

dmethvin
Copy link
Member

Fixes #88

This reintroduces a streamlined migrateWarnProp since we don't need to support a missing broken Object.defineProperty like IE8. That also means it will issue the warning on property access rather than wait until the method call, but that won't matter in most cases. In the cases where it does matter, you probably want to know where the property was accessed.

@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @markelog, @gibson042 and @gnarf to be potential reviewers

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.2%) to 87.069% when pulling ed08f7f on dmethvin:88-ajax-deprecations into e1b5396 on jquery:master.

migrateWarn( msg );
return value;
},
set: function( newValue ) {
Copy link
Member Author

Choose a reason for hiding this comment

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

As coveragebot observed, this is not being checked. I'll add a test.

@coveralls
Copy link

Coverage Status

Coverage increased (+1.3%) to 88.596% when pulling 9cca74f on dmethvin:88-ajax-deprecations into eb42768 on jquery:master.

@dmethvin dmethvin closed this in d1af536 Mar 28, 2016
@dmethvin dmethvin deleted the 88-ajax-deprecations branch April 28, 2016 15:39
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.

None yet

4 participants