parent
edc5dca238
commit
bd0ce5c06b
1 changed files with 1 additions and 1 deletions
|
|
@ -2087,7 +2087,7 @@ void (function (global, factory) { // eslint-disable-line
|
||||||
if (!options.dataType || options.dataType.toLowerCase() !== "jsonp") {
|
if (!options.dataType || options.dataType.toLowerCase() !== "jsonp") {
|
||||||
serialize = options.serialize || JSON.stringify
|
serialize = options.serialize || JSON.stringify
|
||||||
deserialize = options.deserialize || JSON.parse
|
deserialize = options.deserialize || JSON.parse
|
||||||
extract = function (xhr) {
|
extract = options.extract || function (xhr) {
|
||||||
if (xhr.responseText.length === 0 &&
|
if (xhr.responseText.length === 0 &&
|
||||||
deserialize === JSON.parse) {
|
deserialize === JSON.parse) {
|
||||||
return null
|
return null
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue