mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
BUGFIX Added getAllResponseHeaders() to jasmine-ajax to get jQuery 1.5 compatibility
This commit is contained in:
parent
7500891c11
commit
89a0b1b281
4
thirdparty/jasmine-ajax/lib/mock-ajax.js
vendored
4
thirdparty/jasmine-ajax/lib/mock-ajax.js
vendored
@ -81,6 +81,10 @@ function FakeXMLHttpRequest() {
|
||||
return xhr.responseHeaders[name];
|
||||
},
|
||||
|
||||
getAllResponseHeaders: function() {
|
||||
return xhr.responseHeaders;
|
||||
},
|
||||
|
||||
responseText: null,
|
||||
|
||||
response: function(response) {
|
||||
|
Loading…
Reference in New Issue
Block a user