ijox
This commit is contained in:
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
||||
/*Generated on:Wed Dec 19 2018 16:18:58 GMT+0100 (CET)*/
|
||||
/*Generated on:Wed Dec 19 2018 16:24:02 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();
|
||||
|
||||
Vendored
+5
-5
@@ -1,4 +1,4 @@
|
||||
/*Generated on:Wed Dec 19 2018 16:18:58 GMT+0100 (CET)*/
|
||||
/*Generated on:Wed Dec 19 2018 16:24:02 GMT+0100 (CET)*/
|
||||
/*
|
||||
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||
* ===============================================
|
||||
@@ -18590,12 +18590,13 @@ class AutomaticDispose {
|
||||
GetMissionConfiguration(MissionType) {
|
||||
const self = this;
|
||||
console.log("debug 3")
|
||||
return self.ADisDB.transaction('rw', [self.ADisDB.ADisMissions, self.ADisDB.ADisAvailabelMissions], function () {
|
||||
return self.ADisDB.transaction('r', [self.ADisDB.ADisAvailabelMissions], function () {
|
||||
const self = this;
|
||||
console.log("debug 3", MissionType, MissionType.toString())
|
||||
return self.ADisDB.ADisAvailabelMissions.get({
|
||||
type: MissionType.toString()
|
||||
}).then((availableMission) => {
|
||||
})
|
||||
}.bind(self)).then((availableMission) => {
|
||||
console.log("debug 3", availableMission)
|
||||
if (availableMission != undefined && availableMission.jsondata) {
|
||||
self.MissionConfig = availableMission.jsondata;
|
||||
@@ -18609,8 +18610,7 @@ class AutomaticDispose {
|
||||
self.UpdateMissionsToDone(self.MissionID);
|
||||
tellParent(`console.log('config:3000:update:${window.name}:${self.MissionID}');window.AutomaticDisposeCall.FreeIframe('${self.MyRunner}');`); // update Mission here as updated or full
|
||||
}
|
||||
});
|
||||
}.bind(self));
|
||||
});;
|
||||
|
||||
}
|
||||
|
||||
|
||||
+4
-4
@@ -1349,12 +1349,13 @@ class AutomaticDispose {
|
||||
GetMissionConfiguration(MissionType) {
|
||||
const self = this;
|
||||
console.log("debug 3")
|
||||
return self.ADisDB.transaction('rw', [self.ADisDB.ADisMissions, self.ADisDB.ADisAvailabelMissions], function () {
|
||||
return self.ADisDB.transaction('r', [self.ADisDB.ADisAvailabelMissions], function () {
|
||||
const self = this;
|
||||
console.log("debug 3", MissionType, MissionType.toString())
|
||||
return self.ADisDB.ADisAvailabelMissions.get({
|
||||
type: MissionType.toString()
|
||||
}).then((availableMission) => {
|
||||
})
|
||||
}.bind(self)).then((availableMission) => {
|
||||
console.log("debug 3", availableMission)
|
||||
if (availableMission != undefined && availableMission.jsondata) {
|
||||
self.MissionConfig = availableMission.jsondata;
|
||||
@@ -1368,8 +1369,7 @@ class AutomaticDispose {
|
||||
self.UpdateMissionsToDone(self.MissionID);
|
||||
tellParent(`console.log('config:3000:update:${window.name}:${self.MissionID}');window.AutomaticDisposeCall.FreeIframe('${self.MyRunner}');`); // update Mission here as updated or full
|
||||
}
|
||||
});
|
||||
}.bind(self));
|
||||
});;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user