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 */
|
/* cookies.js; Deven Blake 2021; Public Domain */
|
||||||
|
/* @license magnet:?xt=urn:btih:e95b018ef3580986a04669f1b5879592219e2a7a&dn=public-domain.txt */
|
||||||
|
|
||||||
window.setCookie = function(name, value){
|
window.setCookie = function(name, value){
|
||||||
var d;
|
var d;
|
||||||
@ -36,3 +37,5 @@ window.getCookie = function(name){
|
|||||||
}
|
}
|
||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* @license-end */
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
/* quotes.js; Deven Blake 2021-2022; Public Domain */
|
/* quotes.js; Deven Blake 2021-2022; Public Domain */
|
||||||
/* With thanks to Ками on Discord. */
|
/* With thanks to Ками on Discord. */
|
||||||
|
/* @license magnet:?xt=urn:btih:e95b018ef3580986a04669f1b5879592219e2a7a&dn=public-domain.txt */
|
||||||
/* To use:
|
/* To use:
|
||||||
* - add two elements with the IDs QUOTE_AUTHOR_ID (see code) and
|
* - add two elements with the IDs QUOTE_AUTHOR_ID (see code) and
|
||||||
* QUOTE_VALUE_ID (see code) respectively
|
* QUOTE_VALUE_ID (see code) respectively
|
||||||
@ -44,3 +45,5 @@ window.quote_new = function(){
|
|||||||
quote_author.textContent = window.QUOTES_QUOTE_AUTHOR_PREFIX
|
quote_author.textContent = window.QUOTES_QUOTE_AUTHOR_PREFIX
|
||||||
+ window.quote[1];
|
+ window.quote[1];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* @license-end */
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
/* Depends on cookies.js */
|
/* Depends on cookies.js */
|
||||||
/* sheets.js; Deven Blake 2021; Public Domain */
|
/* 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
|
/* sets the sheet to the sheet in the cookie, if the user saved their
|
||||||
* preferences */
|
* preferences */
|
||||||
@ -19,3 +20,5 @@ window.setStyling = function(sheet){
|
|||||||
document.getElementById('styling').setAttribute('href', sheet);
|
document.getElementById('styling').setAttribute('href', sheet);
|
||||||
return sheet;
|
return sheet;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* @license-end */
|
||||||
|
Loading…
Reference in New Issue
Block a user