Revert "build: Add prettier to the project"

This reverts commit 41024ddb79.
This commit is contained in:
2024-02-23 10:35:39 +01:00
parent 260706c172
commit 8fa9d0e843
94 changed files with 2103 additions and 4215 deletions

View File

@ -4,12 +4,12 @@
* @returns
*/
function decode(encoded) {
let result = '';
let result = "";
for (let i = 0; i < encoded.length; i++) {
let c = encoded[i];
if (c == '+') {
result += ' ';
} else if (c == '%') {
if (c == "+") {
result += " ";
} else if (c == "%") {
result += String.fromCharCode(parseInt(encoded.slice(i + 1, i + 3), 16));
i += 2;
} else {
@ -41,4 +41,4 @@ function decodeForm(encoded, initial) {
return result;
}
export {decodeForm};
export { decodeForm };