BUGFIX Added getAllResponseHeaders() to jasmine-ajax to get jQuery 1.5 compatibility

This commit is contained in:
Ingo Schommer 2011-03-08 08:30:41 +13:00
parent 7500891c11
commit 89a0b1b281

View File

@ -81,6 +81,10 @@ function FakeXMLHttpRequest() {
return xhr.responseHeaders[name]; return xhr.responseHeaders[name];
}, },
getAllResponseHeaders: function() {
return xhr.responseHeaders;
},
responseText: null, responseText: null,
response: function(response) { response: function(response) {