From 59f1e9c267ad7b8d630e543e52a039f0c670b821 Mon Sep 17 00:00:00 2001 From: emmatebibyte Date: Mon, 21 Feb 2022 20:04:29 -0500 Subject: [PATCH] Added license info for javascript --- homepage/js/cookies.js | 3 +++ homepage/js/quotes.js | 3 +++ homepage/js/sheets.js | 3 +++ 3 files changed, 9 insertions(+) diff --git a/homepage/js/cookies.js b/homepage/js/cookies.js index 2de6658..b655bd5 100644 --- a/homepage/js/cookies.js +++ b/homepage/js/cookies.js @@ -1,4 +1,5 @@ /* cookies.js; Deven Blake 2021; Public Domain */ +/* @license magnet:?xt=urn:btih:e95b018ef3580986a04669f1b5879592219e2a7a&dn=public-domain.txt */ window.setCookie = function(name, value){ var d; @@ -36,3 +37,5 @@ window.getCookie = function(name){ } return ''; } + +/* @license-end */ diff --git a/homepage/js/quotes.js b/homepage/js/quotes.js index ecea930..18979b7 100644 --- a/homepage/js/quotes.js +++ b/homepage/js/quotes.js @@ -1,5 +1,6 @@ /* quotes.js; Deven Blake 2021-2022; Public Domain */ /* With thanks to Ками on Discord. */ +/* @license magnet:?xt=urn:btih:e95b018ef3580986a04669f1b5879592219e2a7a&dn=public-domain.txt */ /* To use: * - add two elements with the IDs QUOTE_AUTHOR_ID (see code) and * QUOTE_VALUE_ID (see code) respectively @@ -44,3 +45,5 @@ window.quote_new = function(){ quote_author.textContent = window.QUOTES_QUOTE_AUTHOR_PREFIX + window.quote[1]; }; + +/* @license-end */ diff --git a/homepage/js/sheets.js b/homepage/js/sheets.js index abf694d..e59538b 100644 --- a/homepage/js/sheets.js +++ b/homepage/js/sheets.js @@ -1,5 +1,6 @@ /* Depends on cookies.js */ /* sheets.js; Deven Blake 2021; Public Domain */ +/* @license magnet:?xt=urn:btih:e95b018ef3580986a04669f1b5879592219e2a7a&dn=public-domain.txt */ /* sets the sheet to the sheet in the cookie, if the user saved their * preferences */ @@ -19,3 +20,5 @@ window.setStyling = function(sheet){ document.getElementById('styling').setAttribute('href', sheet); return sheet; }; + +/* @license-end */