Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

BUGFIX Added getAllResponseHeaders() to jasmine-ajax to get jQuery 1.…

…5 compatibility
  • Loading branch information...
commit 89a0b1b28157556ea6ebb467ea29fa2e2ef8e501 1 parent 7500891
@chillu chillu authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 thirdparty/jasmine-ajax/lib/mock-ajax.js
View
4 thirdparty/jasmine-ajax/lib/mock-ajax.js
@@ -81,6 +81,10 @@ function FakeXMLHttpRequest() {
return xhr.responseHeaders[name];
},
+ getAllResponseHeaders: function() {
+ return xhr.responseHeaders;
+ },
+
responseText: null,
response: function(response) {
Please sign in to comment.
Something went wrong with that request. Please try again.