From e81ff2da40858a660367843fb1ce458957b52a9d Mon Sep 17 00:00:00 2001 From: Jason Kneen Date: Thu, 21 Jul 2022 14:00:38 +0100 Subject: [PATCH] Update reste.js --- reste.js | 6 ------ 1 file changed, 6 deletions(-) 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) {