Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
EliphasNUIT committed Sep 21, 2023
1 parent 897a2ec commit ad757d7
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 14 deletions.
2 changes: 0 additions & 2 deletions GW2EIBuilders/Resources/htmlTemplates/tmplDebuffTable.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down
4 changes: 1 addition & 3 deletions GW2EIBuilders/Resources/htmlTemplates/tmplGearBuffTable.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [];
Expand Down

0 comments on commit ad757d7

Please sign in to comment.