Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
data: function() {
if (typeof entry !== 'object') return this.opts.value;
return Utils.extend({}, this.opts.value);
},
failure: function(params) {
this.opts.success = false;
this.opts.errorParams = Utils.extend({status: 400}, params || {});
return this;
},