Remove debug logging

It would need to be refactored anyway
pull/8/head
Daniel Asher Resnick 2 years ago
parent a98115c647
commit 42ffa31a3f
  1. 20
      src/public/js/burning-service.js

@ -300,26 +300,6 @@ function BurningDataService($http) {
}
var myself = this;
// Log events
this.registerEvent("stocksLoaded", function() {
console.log("Stocks fetched from server: ", Object.keys(myself.stocks))
if(DEBUG)
console.log("Stocks fetched from server: ", myself.stocks)
});
this.registerEvent("skillsLoaded", function() {
console.log("Loaded " + Object.keys(myself.skills).length + " skills.");
if(DEBUG)
console.log("Loaded skills: ", myself.skills);
});
this.registerEvent("traitsLoaded", function() {
console.log("Loaded " + Object.keys(myself.traits).length + " traits.");
if(DEBUG)
console.log("Loaded traits: ", myself.traits);
});
fetch("/stocks")
.then((response) => response.json())
.then((data) => {

Loading…
Cancel
Save