diff --git a/reste.js b/reste.js index 0f2aaeb..687b0b2 100644 --- a/reste.js +++ b/reste.js @@ -200,7 +200,6 @@ function main() { name: header, value: headers[header] }); - } }; @@ -218,7 +217,6 @@ function main() { name: Object.keys(header)[0], value: header[Object.keys(header)[0]] }); - } }; @@ -303,7 +301,6 @@ function main() { beforePost: args.beforePost, beforeSend: args.beforeSend }, - onLoad, onError); } else { var m; @@ -332,7 +329,6 @@ function main() { beforePost: args.beforePost, beforeSend: args.beforeSend }, - onLoad, onError); } } @@ -409,7 +405,6 @@ function main() { return this.__transform; } }); - if (args.collections) { args.collections.forEach((collection) => { Alloy.Collections[collection.name] = Alloy.Collections[collection.name] || new Backbone.Collection(); @@ -546,7 +541,6 @@ function main() { reste[modelConfig.create]({ body }, - (e) => { if (e.code > 200) {