v2 up aigu09agfpo
This commit is contained in:
2
dist/autoloader.js
vendored
2
dist/autoloader.js
vendored
@@ -1,4 +1,4 @@
|
||||
/*Generated on:Wed Dec 19 2018 16:13:48 GMT+0100 (CET)*/
|
||||
/*Generated on:Wed Dec 19 2018 16:17:20 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();
|
||||
|
||||
6
dist/autoloaderV2.js
vendored
6
dist/autoloaderV2.js
vendored
@@ -1,4 +1,4 @@
|
||||
/*Generated on:Wed Dec 19 2018 16:13:48 GMT+0100 (CET)*/
|
||||
/*Generated on:Wed Dec 19 2018 16:17:20 GMT+0100 (CET)*/
|
||||
/*
|
||||
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||
* ===============================================
|
||||
@@ -18589,10 +18589,13 @@ class AutomaticDispose {
|
||||
|
||||
GetMissionConfiguration(MissionType) {
|
||||
const self = this;
|
||||
console.log("debug 3")
|
||||
return self.ADisDB.transaction('rw', [self.ADisDB.ADisMissions, self.ADisDB.ADisAvailabelMissions], () => {
|
||||
console.log("debug 3", MissionType, MissionType.toString())
|
||||
return self.ADisDB.ADisAvailabelMissions.get({
|
||||
type: MissionType.toString()
|
||||
}).then((availableMission) => {
|
||||
console.log("debug 3", availableMission)
|
||||
if (availableMission != undefined && availableMission.jsondata) {
|
||||
self.MissionConfig = availableMission.jsondata;
|
||||
// console.log('MissionConfig: ', MissionType.toString(), JSON.stringify(self.MissionConfig, null, 2))
|
||||
@@ -18603,6 +18606,7 @@ class AutomaticDispose {
|
||||
next_check: CurrentTime + 60
|
||||
};
|
||||
self.UpdateOwnMissionsToDone(self.MissionID, updateData);
|
||||
tellParent(`console.log('config:3000:update:${window.name}:${self.MissionID}');window.AutomaticDisposeCall.FreeIframe('${self.MyRunner}');`); // update Mission here as updated or full
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
@@ -1348,10 +1348,13 @@ class AutomaticDispose {
|
||||
|
||||
GetMissionConfiguration(MissionType) {
|
||||
const self = this;
|
||||
console.log("debug 3")
|
||||
return self.ADisDB.transaction('rw', [self.ADisDB.ADisMissions, self.ADisDB.ADisAvailabelMissions], () => {
|
||||
console.log("debug 3", MissionType, MissionType.toString())
|
||||
return self.ADisDB.ADisAvailabelMissions.get({
|
||||
type: MissionType.toString()
|
||||
}).then((availableMission) => {
|
||||
console.log("debug 3", availableMission)
|
||||
if (availableMission != undefined && availableMission.jsondata) {
|
||||
self.MissionConfig = availableMission.jsondata;
|
||||
// console.log('MissionConfig: ', MissionType.toString(), JSON.stringify(self.MissionConfig, null, 2))
|
||||
@@ -1362,6 +1365,7 @@ class AutomaticDispose {
|
||||
next_check: CurrentTime + 60
|
||||
};
|
||||
self.UpdateOwnMissionsToDone(self.MissionID, updateData);
|
||||
tellParent(`console.log('config:3000:update:${window.name}:${self.MissionID}');window.AutomaticDisposeCall.FreeIframe('${self.MyRunner}');`); // update Mission here as updated or full
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user