aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
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 /index.js
parentc53c0153763162c5ff2ef3178187ff5e5ce45f1e (diff)
small refactor
Diffstat (limited to 'index.js')
-rw-r--r--index.js17
1 files changed, 4 insertions, 13 deletions
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;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage