From 42ffa31a3f2cdf1db49865d03691c4218fcd0dca Mon Sep 17 00:00:00 2001 From: Daniel Asher Resnick Date: Sat, 4 Feb 2023 14:00:49 -0600 Subject: [PATCH] Remove debug logging It would need to be refactored anyway --- src/public/js/burning-service.js | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/src/public/js/burning-service.js b/src/public/js/burning-service.js index fe7761b..1b5d619 100644 --- a/src/public/js/burning-service.js +++ b/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) => {