v2 up 930ua8a8gh0
This commit is contained in:
Vendored
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Thu Nov 29 2018 10:28:11 GMT+0100 (CET)*/
|
/*Generated on:Thu Nov 29 2018 10:32:58 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
+21
-1
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Thu Nov 29 2018 10:28:11 GMT+0100 (CET)*/
|
/*Generated on:Thu Nov 29 2018 10:32:58 GMT+0100 (CET)*/
|
||||||
/*
|
/*
|
||||||
* Dexie.js - a minimalistic wrapper for IndexedDB
|
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||||
* ===============================================
|
* ===============================================
|
||||||
@@ -4585,6 +4585,7 @@ class AutomaticDispose {
|
|||||||
this.ADisDB.on("ready", () => {
|
this.ADisDB.on("ready", () => {
|
||||||
|
|
||||||
if (window.location.pathname === "/" || window.location.pathname === "/#") {
|
if (window.location.pathname === "/" || window.location.pathname === "/#") {
|
||||||
|
that.GetAvailableMissions()
|
||||||
that.IndexPage()
|
that.IndexPage()
|
||||||
setInterval(that.CollectRescueSprechwuensche.bind(that), 2500);
|
setInterval(that.CollectRescueSprechwuensche.bind(that), 2500);
|
||||||
setInterval(that.OpenNextRescueSprechwunsch.bind(that), 5000);
|
setInterval(that.OpenNextRescueSprechwunsch.bind(that), 5000);
|
||||||
@@ -5510,6 +5511,25 @@ class AutomaticDispose {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GetAvailableMissions() {
|
||||||
|
let self = this;
|
||||||
|
for (let i in self.ADisSettings.all_missions) {
|
||||||
|
Mission = self.ADisSettings.all_missions[i];
|
||||||
|
self.AddAvailableMissions(Mission);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
AddAvailableMissions(Mission) {
|
||||||
|
return this.ADisDB.ADisAvailabelMissions.put({
|
||||||
|
missionID: Mission.id,
|
||||||
|
type: Mission.type,
|
||||||
|
name: Mission.name,
|
||||||
|
jsondata: Mission
|
||||||
|
}).catch((err) => {
|
||||||
|
console.error(err)
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -110,6 +110,7 @@ class AutomaticDispose {
|
|||||||
this.ADisDB.on("ready", () => {
|
this.ADisDB.on("ready", () => {
|
||||||
|
|
||||||
if (window.location.pathname === "/" || window.location.pathname === "/#") {
|
if (window.location.pathname === "/" || window.location.pathname === "/#") {
|
||||||
|
that.GetAvailableMissions()
|
||||||
that.IndexPage()
|
that.IndexPage()
|
||||||
setInterval(that.CollectRescueSprechwuensche.bind(that), 2500);
|
setInterval(that.CollectRescueSprechwuensche.bind(that), 2500);
|
||||||
setInterval(that.OpenNextRescueSprechwunsch.bind(that), 5000);
|
setInterval(that.OpenNextRescueSprechwunsch.bind(that), 5000);
|
||||||
@@ -801,6 +802,25 @@ class AutomaticDispose {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
GetAvailableMissions() {
|
||||||
|
let self = this;
|
||||||
|
for (let i in self.ADisSettings.all_missions) {
|
||||||
|
Mission = self.ADisSettings.all_missions[i];
|
||||||
|
self.AddAvailableMissions(Mission);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
AddAvailableMissions(Mission) {
|
||||||
|
return this.ADisDB.ADisAvailabelMissions.put({
|
||||||
|
missionID: Mission.id,
|
||||||
|
type: Mission.type,
|
||||||
|
name: Mission.name,
|
||||||
|
jsondata: Mission
|
||||||
|
}).catch((err) => {
|
||||||
|
console.error(err)
|
||||||
|
})
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user