Just some comments

This commit is contained in:
Codrin Pavel
2020-06-02 02:44:21 +03:00
parent 2b94b9cf35
commit 09dc5ff143
3 changed files with 5 additions and 2 deletions

View File

@@ -46,6 +46,7 @@ var toe = new Vue({
if (id == 7737454) player = 'Zero';
else if (id == 3244200) player = 'OPM';
else if (id == 3075580) player = 'Other OPM';
else player = 'Who knows';
return player;
}
@@ -58,6 +59,8 @@ $(function () {
var matches = data.results[0].result.response.results;
var matchesArray = [];
// @TODO should move everything below to the build process
// speed things up a little
for (match in matches) {
var thisMatch = matches[match];
// add enemy total power to match data