Merge pull request #2 from emmatebibyte/js-license
Added license info for javascript
This commit is contained in:
commit
9f6c8c9552
@ -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 */
|
||||
|
@ -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 */
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user