Replace .isResolved & .isRejected with .state#3665
Replace .isResolved & .isRejected with .state#3665jasonsanjose merged 3 commits intoadobe:masterfrom TuckerWhitehouse:deprecated_deferred_methods
Conversation
|
Also, should the wiki/Brackets-Coding-Conventions be updated to advise people to use |
There was a problem hiding this comment.
Please revert changes in brackets-concat. We're trying to keep this file as-is for benchmarking over time.
There was a problem hiding this comment.
@jasonsanjose Do you think we should rename that file so it's more clear it shouldn't be modified? This gotcha seems to come up fairly regularly...
There was a problem hiding this comment.
brackets-concat-do-not-edit? :) You'd think being under the top level /test folder would be enough.
There was a problem hiding this comment.
My bad, just not always sure what needs to get changed to not break functionality (even in test environment).
|
Reviewing |
|
@TuckerWhitehouse I don't think we necessarily need a note on the wiki to avoid deprecated or soon-to-be-deprecated APIs. Your changes look good and passes tests. Merging. |
…thods Replace .isResolved & .isRejected with .state
This is a step towards the eventually upgrade to jQuery 2.0 (#3123).
Both
.isResolved&.isRejectedwere deprecated in jQuery 1.7 and removed in 1.8 (http://api.jquery.com/deferred.isResolved/).