v2 iaofhaoifaoj
This commit is contained in:
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Sun Dec 02 2018 10:49:01 GMT+0100 (CET)*/
|
/*Generated on:Sun Dec 02 2018 10:51:08 GMT+0100 (CET)*/
|
||||||
var AutomaticDispose_Branch = "master";
|
var AutomaticDispose_Branch = "master";
|
||||||
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
|
var AutomaticDispose_URL = "https://jf.git.rest/Jomaar/automatic-dispose/raw/branch/";
|
||||||
var da_lss_adis_time = new Date().getTime();
|
var da_lss_adis_time = new Date().getTime();
|
||||||
|
|||||||
Vendored
+3
-3
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Sun Dec 02 2018 10:49:01 GMT+0100 (CET)*/
|
/*Generated on:Sun Dec 02 2018 10:51:08 GMT+0100 (CET)*/
|
||||||
/*
|
/*
|
||||||
* Dexie.js - a minimalistic wrapper for IndexedDB
|
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||||
* ===============================================
|
* ===============================================
|
||||||
@@ -18192,13 +18192,11 @@ class AutomaticDispose {
|
|||||||
|
|
||||||
RemoveMissionsFromQueue(MissionID) {
|
RemoveMissionsFromQueue(MissionID) {
|
||||||
const self = this;
|
const self = this;
|
||||||
return self.ADisDB.transaction('rw', [self.ADisDB.ADisMissions], () => {
|
|
||||||
return self.ADisDB.ADisMissions.where({
|
return self.ADisDB.ADisMissions.where({
|
||||||
missionID: MissionID
|
missionID: MissionID
|
||||||
}).delete().catch((err) => {
|
}).delete().catch((err) => {
|
||||||
console.error(err)
|
console.error(err)
|
||||||
})
|
})
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
OpenNextMission(Runner) {
|
OpenNextMission(Runner) {
|
||||||
@@ -18290,6 +18288,7 @@ class AutomaticDispose {
|
|||||||
console.log("Window", window.name);
|
console.log("Window", window.name);
|
||||||
console.log("self.MyRunner", self.MyRunner);
|
console.log("self.MyRunner", self.MyRunner);
|
||||||
console.log("self.MyRunnerSettings", self.MyRunnerSettings);
|
console.log("self.MyRunnerSettings", self.MyRunnerSettings);
|
||||||
|
return self.ADisDB.transaction('rw', [self.ADisDB.ADisMissions], () => {
|
||||||
self.ADSettings().then((setting) => {
|
self.ADSettings().then((setting) => {
|
||||||
if (setting[self.MyRunnerSettings] === 'true') {
|
if (setting[self.MyRunnerSettings] === 'true') {
|
||||||
|
|
||||||
@@ -18318,6 +18317,7 @@ class AutomaticDispose {
|
|||||||
return tellParent(`console.log('wunsch:2000:done:${window.name}:${self.MissionID}');window.AutomaticDisposeCall.FreeIframe('${self.MyRunner}');`);
|
return tellParent(`console.log('wunsch:2000:done:${window.name}:${self.MissionID}');window.AutomaticDisposeCall.FreeIframe('${self.MyRunner}');`);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
})
|
||||||
}, 1500);
|
}, 1500);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -1022,13 +1022,11 @@ class AutomaticDispose {
|
|||||||
|
|
||||||
RemoveMissionsFromQueue(MissionID) {
|
RemoveMissionsFromQueue(MissionID) {
|
||||||
const self = this;
|
const self = this;
|
||||||
return self.ADisDB.transaction('rw', [self.ADisDB.ADisMissions], () => {
|
|
||||||
return self.ADisDB.ADisMissions.where({
|
return self.ADisDB.ADisMissions.where({
|
||||||
missionID: MissionID
|
missionID: MissionID
|
||||||
}).delete().catch((err) => {
|
}).delete().catch((err) => {
|
||||||
console.error(err)
|
console.error(err)
|
||||||
})
|
})
|
||||||
})
|
|
||||||
}
|
}
|
||||||
|
|
||||||
OpenNextMission(Runner) {
|
OpenNextMission(Runner) {
|
||||||
@@ -1120,6 +1118,7 @@ class AutomaticDispose {
|
|||||||
console.log("Window", window.name);
|
console.log("Window", window.name);
|
||||||
console.log("self.MyRunner", self.MyRunner);
|
console.log("self.MyRunner", self.MyRunner);
|
||||||
console.log("self.MyRunnerSettings", self.MyRunnerSettings);
|
console.log("self.MyRunnerSettings", self.MyRunnerSettings);
|
||||||
|
return self.ADisDB.transaction('rw', [self.ADisDB.ADisMissions], () => {
|
||||||
self.ADSettings().then((setting) => {
|
self.ADSettings().then((setting) => {
|
||||||
if (setting[self.MyRunnerSettings] === 'true') {
|
if (setting[self.MyRunnerSettings] === 'true') {
|
||||||
|
|
||||||
@@ -1148,6 +1147,7 @@ class AutomaticDispose {
|
|||||||
return tellParent(`console.log('wunsch:2000:done:${window.name}:${self.MissionID}');window.AutomaticDisposeCall.FreeIframe('${self.MyRunner}');`);
|
return tellParent(`console.log('wunsch:2000:done:${window.name}:${self.MissionID}');window.AutomaticDisposeCall.FreeIframe('${self.MyRunner}');`);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
})
|
||||||
}, 1500);
|
}, 1500);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user