From dfbe8476aa6323bf1d9e699b5e08165a8403b21c Mon Sep 17 00:00:00 2001 From: Minteck Date: Thu, 10 Jun 2021 22:00:49 +0200 Subject: (Pre)final commit ! --- views/script/credits_libs.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'views/script/credits_libs.js') diff --git a/views/script/credits_libs.js b/views/script/credits_libs.js index 9e2f21a..26ee36b 100644 --- a/views/script/credits_libs.js +++ b/views/script/credits_libs.js @@ -1,15 +1,15 @@ Object.keys(process.versions).forEach((e) => { v = process.versions[e]; - document.write(e.substr(0, 1).toUpperCase() + e.substr(1) + " contributors
"); + document.write("
" + e.substr(0, 1).toUpperCase() + e.substr(1) + " contributors
"); }) dirs = require('fs').readdirSync("./node_modules"); dirs.forEach((dir) => { if (!dir.startsWith(".") && !dir.startsWith("@") && dir !== "electron") { j = JSON.parse(require('fs').readFileSync("./node_modules/" + dir + "/package.json").toString()); if (typeof j.author === "string") { - document.write(j.author + "
"); + document.write("
" + j.author + "
"); } else { - document.write(j.name.substr(0, 1).toUpperCase() + j.name.substr(1) + " authors
"); + document.write("
" + j.name.substr(0, 1).toUpperCase() + j.name.substr(1) + " authors
"); } } }) \ No newline at end of file -- cgit