From ad757d78ade373415fb9f9e8a856fb4f1abc2952 Mon Sep 17 00:00:00 2001 From: EliphasNUIT Date: Thu, 21 Sep 2023 23:15:01 +0200 Subject: [PATCH] cleanup --- GW2EIBuilders/Resources/htmlTemplates/tmplDebuffTable.html | 2 -- .../Resources/htmlTemplates/tmplEnhancementBuffTable.html | 4 +--- GW2EIBuilders/Resources/htmlTemplates/tmplGearBuffTable.html | 4 +--- .../Resources/htmlTemplates/tmplNourishmentBuffTable.html | 4 +--- .../Resources/htmlTemplates/tmplOtherConsumableBuffTable.html | 4 +--- 5 files changed, 4 insertions(+), 14 deletions(-) diff --git a/GW2EIBuilders/Resources/htmlTemplates/tmplDebuffTable.html b/GW2EIBuilders/Resources/htmlTemplates/tmplDebuffTable.html index 2b43664df..5a6011c81 100644 --- a/GW2EIBuilders/Resources/htmlTemplates/tmplDebuffTable.html +++ b/GW2EIBuilders/Resources/htmlTemplates/tmplDebuffTable.html @@ -31,8 +31,6 @@ if (this.cache.has(id)) { return this.cache.get(id); } - var activeduration = this.activeduration; - var activeTimes = this.phase.playerActiveTimes; var getData = function (stats) { var uptimes = []; diff --git a/GW2EIBuilders/Resources/htmlTemplates/tmplEnhancementBuffTable.html b/GW2EIBuilders/Resources/htmlTemplates/tmplEnhancementBuffTable.html index 9e4fef1e9..d91eb2c55 100644 --- a/GW2EIBuilders/Resources/htmlTemplates/tmplEnhancementBuffTable.html +++ b/GW2EIBuilders/Resources/htmlTemplates/tmplEnhancementBuffTable.html @@ -27,12 +27,10 @@ return data; }, buffData: function () { - var id = this.phaseindex + '-' + this.activeduration; + var id = this.phaseindex; if (this.cache.has(id)) { return this.cache.get(id); } - var activeduration = this.activeduration; - var activeTimes = this.phase.playerActiveTimes; var getData = function (stats) { var uptimes = []; diff --git a/GW2EIBuilders/Resources/htmlTemplates/tmplGearBuffTable.html b/GW2EIBuilders/Resources/htmlTemplates/tmplGearBuffTable.html index 1e019baca..9295aa4c2 100644 --- a/GW2EIBuilders/Resources/htmlTemplates/tmplGearBuffTable.html +++ b/GW2EIBuilders/Resources/htmlTemplates/tmplGearBuffTable.html @@ -27,12 +27,10 @@ return data; }, buffData: function () { - var id = this.phaseindex + '-' + this.activeduration; + var id = this.phaseindex; if (this.cache.has(id)) { return this.cache.get(id); } - var activeduration = this.activeduration; - var activeTimes = this.phase.playerActiveTimes; var getData = function (stats) { var uptimes = []; diff --git a/GW2EIBuilders/Resources/htmlTemplates/tmplNourishmentBuffTable.html b/GW2EIBuilders/Resources/htmlTemplates/tmplNourishmentBuffTable.html index bffd6630f..987a2ced7 100644 --- a/GW2EIBuilders/Resources/htmlTemplates/tmplNourishmentBuffTable.html +++ b/GW2EIBuilders/Resources/htmlTemplates/tmplNourishmentBuffTable.html @@ -27,12 +27,10 @@ return data; }, buffData: function () { - var id = this.phaseindex + '-' + this.activeduration; + var id = this.phaseindex; if (this.cache.has(id)) { return this.cache.get(id); } - var activeduration = this.activeduration; - var activeTimes = this.phase.playerActiveTimes; var getData = function (stats) { var uptimes = []; diff --git a/GW2EIBuilders/Resources/htmlTemplates/tmplOtherConsumableBuffTable.html b/GW2EIBuilders/Resources/htmlTemplates/tmplOtherConsumableBuffTable.html index aad5fc7dd..155678a4a 100644 --- a/GW2EIBuilders/Resources/htmlTemplates/tmplOtherConsumableBuffTable.html +++ b/GW2EIBuilders/Resources/htmlTemplates/tmplOtherConsumableBuffTable.html @@ -27,12 +27,10 @@ return data; }, buffData: function () { - var id = this.phaseindex + '-' + this.activeduration; + var id = this.phaseindex; if (this.cache.has(id)) { return this.cache.get(id); } - var activeduration = this.activeduration; - var activeTimes = this.phase.playerActiveTimes; var getData = function (stats) { var uptimes = [];