jQuery 2.0 renamed onreadystatechange to onload.

This commit is contained in:
J Smith 2013-02-04 12:20:42 -05:00
parent f75b12606a
commit ede994d75b

View File

@ -70,6 +70,9 @@ function FakeXMLHttpRequest() {
readyState: 0,
onload: function() {
},
onreadystatechange: function(isTimeout) {
},
@ -120,6 +123,7 @@ function FakeXMLHttpRequest() {
// uncomment for jquery 1.3.x support
// jasmine.Clock.tick(20);
this.onload();
this.onreadystatechange();
},
responseTimeout: function() {