diff --git a/dist/js-data-angular.js b/dist/js-data-angular.js index bacca2a..99bb6c5 100644 --- a/dist/js-data-angular.js +++ b/dist/js-data-angular.js @@ -551,7 +551,7 @@ return /******/ (function(modules) { // webpackBootstrap } config.method = config.method.toUpperCase(); if (typeof config.data === "object") { - config.data = removeCircular(config.data); + config.data = DSUtils.removeCircular(config.data); } var suffix = config.suffix || _this.defaults.suffix; if (suffix && config.url.substr(config.url.length - suffix.length) !== suffix) { @@ -628,4 +628,4 @@ return /******/ (function(modules) { // webpackBootstrap /***/ } /******/ ]) }); -; \ No newline at end of file +; diff --git a/package.json b/package.json index fab568d..d9536fa 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "js-data-angular", "description": "Angular wrapper for js-data.", - "version": "2.2.3", + "version": "2.2.4", "homepage": "http://www.js-data.io/docs/js-data-angular", "repository": { "type": "git", diff --git a/src/index.js b/src/index.js index 477fd4e..6451363 100644 --- a/src/index.js +++ b/src/index.js @@ -466,7 +466,7 @@ if (!httpLoaded) { } config.method = config.method.toUpperCase(); if (typeof config.data === 'object') { - config.data = removeCircular(config.data); + config.data = DSUtils.removeCircular(config.data); } let suffix = config.suffix || _this.defaults.suffix; if (suffix && config.url.substr(config.url.length - suffix.length) !== suffix) {