Skip to content

Commit 625594f

Browse files
committed
s
1 parent 0616538 commit 625594f

File tree

6 files changed

+19
-17
lines changed

6 files changed

+19
-17
lines changed

dist/js-data-http.js

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js-data-http.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js-data-http.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/js-data-http.min.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

node/dist/js-data-http-node.js

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,9 @@ return /******/ (function(modules) { // webpackBootstrap
8484
var isObject = _jsData.utils.isObject;
8585
var isSorN = _jsData.utils.isSorN;
8686
var isString = _jsData.utils.isString;
87-
var removeCircular = _jsData.utils.removeCircular;
88-
var resolve = _jsData.utils.resolve;
87+
var
88+
// removeCircular,
89+
resolve = _jsData.utils.resolve;
8990
var reject = _jsData.utils.reject;
9091
var toJson = _jsData.utils.toJson;
9192

@@ -308,9 +309,9 @@ return /******/ (function(modules) { // webpackBootstrap
308309
if (_this.defaults.forceTrailingSlash && config.url[config.url.length - 1] !== '/') {
309310
config.url += '/';
310311
}
311-
if (_typeof(config.data) === 'object') {
312-
config.data = removeCircular(config.data);
313-
}
312+
// if (typeof config.data === 'object') {
313+
// config.data = removeCircular(config.data)
314+
// }
314315
config.method = config.method.toUpperCase();
315316
var suffix = config.suffix || _this.defaults.suffix;
316317
if (suffix && config.url.substr(config.url.length - suffix.length) !== suffix) {

src/index.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const {
1111
isObject,
1212
isSorN,
1313
isString,
14-
removeCircular,
14+
// removeCircular,
1515
resolve,
1616
reject,
1717
toJson
@@ -212,9 +212,9 @@ class DSHttpAdapter {
212212
if (_this.defaults.forceTrailingSlash && config.url[config.url.length - 1] !== '/') {
213213
config.url += '/'
214214
}
215-
if (typeof config.data === 'object') {
216-
config.data = removeCircular(config.data)
217-
}
215+
// if (typeof config.data === 'object') {
216+
// config.data = removeCircular(config.data)
217+
// }
218218
config.method = config.method.toUpperCase()
219219
const suffix = config.suffix || _this.defaults.suffix
220220
if (suffix && config.url.substr(config.url.length - suffix.length) !== suffix) {

0 commit comments

Comments
 (0)