Better Helper.log and view

This commit is contained in:
Kasper Rynning-Tønnesen
2018-02-26 12:56:43 +01:00
parent 21692a9c71
commit 86f8a936fc
10 changed files with 118 additions and 92 deletions

View File

@@ -2,7 +2,11 @@ var Helper = {
log: function(to_log) {
if(localStorage.debug === "true") {
console.log(to_log);
console.log("------------");
for(var i = 0; i < to_log.length; i++) {
console.log(to_log[i]);
}
console.log("------------");
}
},