aboutsummaryrefslogtreecommitdiff
path: root/themes/alps/assets/helpers.js
diff options
context:
space:
mode:
authorMark Dain <mark@markdain.net>2021-04-03 14:03:08 +0100
committerDrew DeVault <sir@cmpwn.com>2021-04-03 09:03:55 -0400
commite64550207ce0f6863eef1d2375a45c94612bfb96 (patch)
tree8b364612bb47092f90a37288cca4b673172538b1 /themes/alps/assets/helpers.js
parent5cef0aaff2b8b6ee3e00b566123517e241d8cfb8 (diff)
downloadalps-e64550207ce0f6863eef1d2375a45c94612bfb96.tar.gz
alps-e64550207ce0f6863eef1d2375a45c94612bfb96.zip
Identify JavaScript as MIT/Expat for LibreJS
This commit introduces LibreJS compatible `@license' blocks as per https://www.gnu.org/software/librejs/free-your-javascript.html The magnet URI can be opened in a BitTorrent client to retrieve a copy of the MIT/Expat license. Section 3.2.2.1 from the above link has a list of magnet URIs for various free software licenses.
Diffstat (limited to 'themes/alps/assets/helpers.js')
-rw-r--r--themes/alps/assets/helpers.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/themes/alps/assets/helpers.js b/themes/alps/assets/helpers.js
index 902fd00..cc092ce 100644
--- a/themes/alps/assets/helpers.js
+++ b/themes/alps/assets/helpers.js
@@ -1,3 +1,5 @@
+// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
+
const check_all = document.getElementById("action-checkbox-all");
if (check_all) {
check_all.style.display = "inherit";
@@ -8,3 +10,5 @@ if (check_all) {
}
});
}
+
+// @license-end