Skip to content

Commit 8ce4c74

Browse files
committed
s
1 parent 678059e commit 8ce4c74

File tree

3 files changed

+12
-11
lines changed

3 files changed

+12
-11
lines changed

dist/js-data-http.js

Lines changed: 3 additions & 3 deletions
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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,9 +134,9 @@ class DSHttpAdapter {
134134
if (_this.defaults.forceTrailingSlash && config.url[config.url.length - 1] !== '/' && !config.urlOverride) {
135135
config.url += '/'
136136
}
137-
if (typeof config.data === 'object') {
138-
config.data = removeCircular(config.data)
139-
}
137+
// if (typeof config.data === 'object') {
138+
// config.data = removeCircular(config.data)
139+
// }
140140
config.method = config.method.toUpperCase()
141141
let suffix = config.suffix || _this.defaults.suffix
142142
if (suffix && config.url.substr(config.url.length - suffix.length) !== suffix && !config.urlOverride) {

0 commit comments

Comments
 (0)