diff --git a/dist/autoloader.js b/dist/autoloader.js index a9760a3..d33ced3 100755 --- a/dist/autoloader.js +++ b/dist/autoloader.js @@ -1,4 +1,4 @@ -/*Generated on:Wed Nov 28 2018 20:05:24 GMT+0100 (CET)*/ +/*Generated on:Wed Nov 28 2018 20:07:36 GMT+0100 (CET)*/ var AutomaticDispose_Branch = "master"; var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/"; var da_lss_adis_time = new Date().getTime(); diff --git a/dist/autoloaderV2.js b/dist/autoloaderV2.js index e58c854..7ae627b 100644 --- a/dist/autoloaderV2.js +++ b/dist/autoloaderV2.js @@ -1,4 +1,4 @@ -/*Generated on:Wed Nov 28 2018 20:05:24 GMT+0100 (CET)*/ +/*Generated on:Wed Nov 28 2018 20:07:36 GMT+0100 (CET)*/ /* * Dexie.js - a minimalistic wrapper for IndexedDB * =============================================== @@ -6893,9 +6893,10 @@ class AutomaticDispose { } ADSettings() { + let that = this; return (async () => { var res = {}; - await this.ADisDB.ADisSettings.each((setting) => { + await that.ADisDB.ADisSettings.each((setting) => { res[setting.name] = setting.value; }); return res; diff --git a/src/autoloaderV2.js b/src/autoloaderV2.js index fd4c887..555578a 100644 --- a/src/autoloaderV2.js +++ b/src/autoloaderV2.js @@ -135,9 +135,10 @@ class AutomaticDispose { } ADSettings() { + let that = this; return (async () => { var res = {}; - await this.ADisDB.ADisSettings.each((setting) => { + await that.ADisDB.ADisSettings.each((setting) => { res[setting.name] = setting.value; }); return res;