v2 up 09ai9g0a9ugji
This commit is contained in:
2
dist/autoloader.js
vendored
2
dist/autoloader.js
vendored
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Mon Dec 17 2018 15:21:41 GMT+0100 (CET)*/
|
/*Generated on:Mon Dec 17 2018 15:36:15 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();
|
||||||
|
|||||||
23
dist/autoloaderV2.js
vendored
23
dist/autoloaderV2.js
vendored
@@ -1,4 +1,4 @@
|
|||||||
/*Generated on:Mon Dec 17 2018 15:21:41 GMT+0100 (CET)*/
|
/*Generated on:Mon Dec 17 2018 15:36:15 GMT+0100 (CET)*/
|
||||||
/*
|
/*
|
||||||
* Dexie.js - a minimalistic wrapper for IndexedDB
|
* Dexie.js - a minimalistic wrapper for IndexedDB
|
||||||
* ===============================================
|
* ===============================================
|
||||||
@@ -18516,6 +18516,27 @@ class AutomaticDispose {
|
|||||||
|
|
||||||
CollectMissions() {
|
CollectMissions() {
|
||||||
const self = this;
|
const self = this;
|
||||||
|
|
||||||
|
self.ADSettings().then((setting) => {
|
||||||
|
return self.ADisDB.ADisMissions.toCollection()
|
||||||
|
}).then((Missions) => {
|
||||||
|
if (typeof Missions !== "undefined") {
|
||||||
|
|
||||||
|
return Missions.count((count) => {
|
||||||
|
if (count > 0) {
|
||||||
|
return Missions.each((MyMission) => {
|
||||||
|
var MissionElement = $("#mission_" + MyMission.missionID);
|
||||||
|
if (MissionElement.length == 0 ){
|
||||||
|
//
|
||||||
|
self.RemoveMissionsFromQueue(MyMission.missionID)
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
const MyOwnObserver = new MutationObserver((mutations) => {
|
const MyOwnObserver = new MutationObserver((mutations) => {
|
||||||
mutations.forEach((mutation) => {
|
mutations.forEach((mutation) => {
|
||||||
// console.log(mutation.target.id);
|
// console.log(mutation.target.id);
|
||||||
|
|||||||
@@ -856,6 +856,27 @@ class AutomaticDispose {
|
|||||||
|
|
||||||
CollectMissions() {
|
CollectMissions() {
|
||||||
const self = this;
|
const self = this;
|
||||||
|
|
||||||
|
self.ADSettings().then((setting) => {
|
||||||
|
return self.ADisDB.ADisMissions.toCollection()
|
||||||
|
}).then((Missions) => {
|
||||||
|
if (typeof Missions !== "undefined") {
|
||||||
|
|
||||||
|
return Missions.count((count) => {
|
||||||
|
if (count > 0) {
|
||||||
|
return Missions.each((MyMission) => {
|
||||||
|
var MissionElement = $("#mission_" + MyMission.missionID);
|
||||||
|
if (MissionElement.length == 0 ){
|
||||||
|
//
|
||||||
|
self.RemoveMissionsFromQueue(MyMission.missionID)
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
const MyOwnObserver = new MutationObserver((mutations) => {
|
const MyOwnObserver = new MutationObserver((mutations) => {
|
||||||
mutations.forEach((mutation) => {
|
mutations.forEach((mutation) => {
|
||||||
// console.log(mutation.target.id);
|
// console.log(mutation.target.id);
|
||||||
|
|||||||
Reference in New Issue
Block a user