e64550207c
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.
10 lines
272 B
JavaScript
10 lines
272 B
JavaScript
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
|
|
|
|
const print = document.getElementById("print");
|
|
print.style.display = "inherit";
|
|
print.addEventListener("click", e => {
|
|
e.preventDefault();
|
|
window.print();
|
|
});
|
|
|
|
// @license-end
|