Episode Panels

This commit is contained in:
Luis Fernando Molina committed 2020-07-29 11:16:43 +02:00
1 parent 02cd6b70fd
commit 53a82c19c4
92 files changed
+22951 -22948

No files matched your search

+18 -18
View File
@@ -1,21 +1,21 @@
function newWebDebugLog () {
try {
let thisObject = {
write: write,
fileName: 'undefined'
}
function newWebDebugLog() {
try {
let thisObject = {
write: write,
fileName: 'undefined'
}
return thisObject
return thisObject
function write (pText) {
console.log(spacePad(thisObject.fileName, 50) + ' : ' + pText)
function write(pText) {
console.log(spacePad(thisObject.fileName, 50) + ' : ' + pText)
function spacePad (str, max) {
str = str.toString()
return str.length < max ? spacePad(' ' + str, max) : str
}
}
} catch (err) {
console.log(spacePad(MODULE_NAME, 50) + ' : ' + '[ERROR] WebDebugLog --> err = ' + err.stack)
}
}
function spacePad(str, max) {
str = str.toString()
return str.length < max ? spacePad(' ' + str, max) : str
}
}
} catch (err) {
console.log(spacePad(MODULE_NAME, 50) + ' : ' + '[ERROR] WebDebugLog --> err = ' + err.stack)
}
}