mirror of
https://github.com/Alvin-Zilverstand/return-youtube-dislike.git
synced 2026-11-27 16:37:57 +01:00
move cLog to utils.js
This commit is contained in:
1 parent
954967e701
commit
81dbd52e21
2 files changed
+11
-11
No files matched your search
@@ -39,4 +39,13 @@ function getBrowser() {
|
||||
}
|
||||
}
|
||||
|
||||
export { numberFormat, getBrowser }
|
||||
function cLog(message, writer) {
|
||||
message = `[return youtube dislike]: ${message}`;
|
||||
if (writer) {
|
||||
writer(message);
|
||||
} else {
|
||||
console.log(message);
|
||||
}
|
||||
}
|
||||
|
||||
export { numberFormat, getBrowser, cLog }
|
||||
Reference in new issue
Block a user