v2 update

This commit is contained in:
2018-11-28 20:07:36 +01:00
parent 21d3371790
commit ebd25cb487
3 changed files with 6 additions and 4 deletions

2
dist/autoloader.js vendored
View File

@@ -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();

View File

@@ -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;

View File

@@ -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;