« get me outta code hell

remove THING_DIRECTORY constants once and for all - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/common
diff options
context:
space:
mode:
author(quasar) nebula <towerofnix@gmail.com>2021-03-10 11:49:52 -0400
committer(quasar) nebula <towerofnix@gmail.com>2021-03-10 11:49:52 -0400
commit4ae47f11a7c2ab3b913d6298f24ef416e7f1d47f (patch)
tree89a299e59c12bc700cfaf2fc3380bf61b8a12778 /common
parent082427cb1f48ce2b1c7e13f362499a5c58ca76ab (diff)
remove THING_DIRECTORY constants once and for all
replaced by urlSpec. nice! :D
Diffstat (limited to 'common')
-rw-r--r--common/common.js17
1 files changed, 6 insertions, 11 deletions
diff --git a/common/common.js b/common/common.js
index 92dca106..56ee7b35 100644
--- a/common/common.js
+++ b/common/common.js
@@ -60,17 +60,12 @@ const C = {
     //
     // Upd8 03/11/2020: Oh my god this was a pain to re-align (copying from
     // udp8.js over to shared.js).
-    ALBUM_DIRECTORY: 'album',
-    TRACK_DIRECTORY: 'track',
-    ARTIST_DIRECTORY: 'artist',
-    ARTIST_AVATAR_DIRECTORY: 'artist-avatar',
-    TAG_DIRECTORY: 'tag',
-    LISTING_DIRECTORY: 'list',
-    FLASH_DIRECTORY: 'flash',
-    NEWS_DIRECTORY: 'news',
-    GROUP_DIRECTORY: 'group',
-    COMMENTARY_DIRECTORY: 'commentary',
-    JS_DISABLED_DIRECTORY: 'js-disabled',
+    //
+    // Upd8 03/10/2021 (wow, almost exactly a year later): This code comment
+    // from literally the first day of wiki development is finally no longer
+    // necessary! It was commenting constnats like "ALBUM_DIRECTORY" 8efore.
+    // 8ut we don't have those constants anymore, 'cuz urlSpec in upd8.js
+    // covers all that!
 
     UNRELEASED_TRACKS_DIRECTORY: 'unreleased-tracks',
     OFFICIAL_GROUP_DIRECTORY: 'official',