Skip to content
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.

Commit

Permalink
Merge pull request #60 from bearfriend/master
Browse files Browse the repository at this point in the history
Remove bad status check in isSuccess
  • Loading branch information
addyosmani committed Jan 24, 2015
2 parents 275a3b0 + 367df82 commit 732fde9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core-ajax.html
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@

isSuccess: function(xhr) {
var status = xhr.status || 0;
return !status || (status >= 200 && status < 300);
return (status >= 200 && status < 300);
},

processResponse: function(xhr) {
Expand Down

0 comments on commit 732fde9

Please sign in to comment.