From cf6ebae2d768a3e39328d65f1250d06982c77e7e Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sat, 8 Feb 2025 21:58:40 -0800 Subject: small refactor --- index.html | 2 +- index.js | 17 ++++------------- tiers.html | 2 +- tiers.js | 8 ++++++++ 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 @@ - GitHub + GitHub
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 @@

My TierList

- GitHub + GitHub
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; -- cgit v1.2.3