vendor/components/indefinido-indemma/build/release.js in ende-0.4.11 vs vendor/components/indefinido-indemma/build/release.js in ende-0.4.12
- old
+ new
@@ -20750,11 +20750,11 @@
"delete": function(data) {
return request.call(this, 'delete', (this._id ? "" + this.route + "/" + this._id : this.route), data);
}
};
-data_for = function() {
- var data, param_name;
+data_for = function(data) {
+ var param_name;
param_name = this.resource.param_name || this.resource.toString();
if (!data && this.json) {
data = {};
data[param_name] = this.json();