mirror of
https://github.com/KevinMidboe/zoff.git
synced 2025-12-29 13:31:00 +00:00
Better Helper.log and view
This commit is contained in:
@@ -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("------------");
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user