aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPinapelz <yukais@pinapelz.com>2025-02-08 21:58:40 -0800
committerPinapelz <yukais@pinapelz.com>2025-02-08 21:58:40 -0800
commitcf6ebae2d768a3e39328d65f1250d06982c77e7e (patch)
tree208ad2c5c20fdd01cca32b09db8c0cf889ac9584
parentc53c0153763162c5ff2ef3178187ff5e5ce45f1e (diff)
small refactor
-rw-r--r--index.html2
-rw-r--r--index.js17
-rw-r--r--tiers.html2
-rw-r--r--tiers.js8
4 files changed, 14 insertions, 15 deletions
diff --git a/index.html b/index.html
index fa499e6..c52e7f1 100644
--- a/index.html
+++ b/index.html
@@ -11,7 +11,7 @@
<label class='title-label' for='title-input'>My TierList</label>
<input type='text' id='title-input' />
</div>
- <a href='https://github.com/silverweed/tiers' class='gh-link'>GitHub</a>
+ <a href='https://github.com/pinapelz/interactive-tierlist' class='gh-link'>GitHub</a>
<section class='main-content'>
<div class='tierlist'>
</div>
diff --git a/index.js b/index.js
index 366a0b5..61f1c6e 100644
--- a/index.js
+++ b/index.js
@@ -1,15 +1,8 @@
/*
- Offline Tierlist Maker
- Copyright (C) 2022 silverweed
-
- Everyone is permitted to copy and distribute verbatim or modified
- copies of this license document, and changing it is allowed as long
- as the name is changed.
-
- DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
-
- 0. You just DO WHAT THE FUCK YOU WANT TO.
+Interactive Tiers
+Original code from: https://github.com/silverweed/tiers
+Modified by: pinapelz
+Licensed Under WTFPL
*/
'use strict';
@@ -34,11 +27,9 @@ const LAYOUT_HORIZONTAL = 0;
const LAYOUT_VERTICAL = 1;
let cur_layout = LAYOUT_HORIZONTAL;
-// Contains [[header, input, label]]
let all_headers = [];
let headers_orig_min_width;
-// DOM elems
let untiered_images;
let tierlist_div;
let dragged_image;
diff --git a/tiers.html b/tiers.html
index 0c7880b..c8eaabb 100644
--- a/tiers.html
+++ b/tiers.html
@@ -10,7 +10,7 @@
<div class="title">
<h1 class="title-label">My TierList</h1>
</div>
- <a href="https://github.com/silverweed/tiers" class="gh-link">GitHub</a>
+ <a href="https://github.com/pinapelz/interactive-tierlist" class="gh-link">GitHub</a>
<section class="main-content">
<div class="tierlist"></div>
<div class="toggleable-container">
diff --git a/tiers.js b/tiers.js
index a80a71a..3653992 100644
--- a/tiers.js
+++ b/tiers.js
@@ -1,3 +1,11 @@
+/*
+Interactive Tiers
+Original code from: https://github.com/silverweed/tiers
+Modified by: pinapelz
+Licensed Under WTFPL
+*/
+
+
'use strict';
const MAX_NAME_LEN = 200;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage