diff options
author | Minteck <nekostarfan@gmail.com> | 2021-06-10 22:00:49 +0200 |
---|---|---|
committer | Minteck <nekostarfan@gmail.com> | 2021-06-10 22:00:49 +0200 |
commit | dfbe8476aa6323bf1d9e699b5e08165a8403b21c (patch) | |
tree | e2fab6a5986c1f7b9d55a7b1009263ff98b5a33c /views/script/credits_libs.js | |
parent | 3e62534eb7db3011ef540b6053811d48761dda21 (diff) | |
download | kartik-client-dfbe8476aa6323bf1d9e699b5e08165a8403b21c.tar.gz kartik-client-dfbe8476aa6323bf1d9e699b5e08165a8403b21c.tar.bz2 kartik-client-dfbe8476aa6323bf1d9e699b5e08165a8403b21c.zip |
(Pre)final commit !
Diffstat (limited to 'views/script/credits_libs.js')
-rw-r--r-- | views/script/credits_libs.js | 6 |
1 files changed, 3 insertions, 3 deletions
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<br>"); + document.write("<div>" + e.substr(0, 1).toUpperCase() + e.substr(1) + " contributors</div>"); }) 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 + "<br>"); + document.write("<div>" + j.author + "</div>"); } else { - document.write(j.name.substr(0, 1).toUpperCase() + j.name.substr(1) + " authors<br>"); + document.write("<div>" + j.name.substr(0, 1).toUpperCase() + j.name.substr(1) + " authors</div>"); } } })
\ No newline at end of file |