Skip to content

Commit ebfde17

Browse files
committed
remove debug log and format code
1 parent 1600ab1 commit ebfde17

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

script.user.js

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ==UserScript==
22
// @name JPDB Userscript (6a67)
33
// @namespace http://tampermonkey.net/
4-
// @version 0.1.168
4+
// @version 0.1.169
55
// @description Script for JPDB that adds some styling and functionality
66
// @match *://jpdb.io/*
77
// @grant GM_addStyle
@@ -156,7 +156,7 @@
156156
},
157157
apiKey: GM_getValue('apiKey', ''),
158158
currentVersion: GM_getValue('debug_currentVersion', ''),
159-
previousVersion: GM_getValue('debug_previousVersion', ''),
159+
previousVersion: GM_getValue('debug_previousVersion', '')
160160
};
161161

162162
let WARM = {};
@@ -1068,7 +1068,7 @@
10681068
display: none;
10691069
}
10701070
}
1071-
`,
1071+
`
10721072
};
10731073

10741074
function log(...args) {
@@ -1567,7 +1567,6 @@
15671567
console.error('Target element or lottie container is null or undefined');
15681568
return null;
15691569
}
1570-
console.log(lottieContainer);
15711570

15721571
const originalStyles = {
15731572
visibility: lottieContainer.style.visibility,
@@ -1886,7 +1885,7 @@
18861885
playSound(CONFIG.soundUrlReveal);
18871886
}
18881887

1889-
await new Promise(resolve => {
1888+
await new Promise((resolve) => {
18901889
requestAnimationFrame(() => {
18911890
setTimeout(resolve, 25);
18921891
});
@@ -3926,7 +3925,7 @@
39263925
}
39273926

39283927
function updateVersionVariables() {
3929-
if(STATE.currentVersion === GM_info.script.version) {
3928+
if (STATE.currentVersion === GM_info.script.version) {
39303929
return;
39313930
}
39323931

0 commit comments

Comments
 (0)