We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 273c38d commit 1e1e056Copy full SHA for 1e1e056
jQuery.XDomainRequest.js
@@ -39,7 +39,7 @@ if (!jQuery.support.cors && window.XDomainRequest) {
39
try {
40
if (userType === 'json') {
41
42
- responses.json = JSON.parse(xdr.responseText);
+ responses.json = jQuery.parseJSON(xdr.responseText);
43
} catch(e) {
44
status.code = 500;
45
status.message = 'parseerror';
@@ -83,4 +83,4 @@ if (!jQuery.support.cors && window.XDomainRequest) {
83
};
84
}
85
});
86
-}
+}
0 commit comments