Skip to content

Commit

Permalink
Let LibreJS know Kokori's JS is free!
Browse files Browse the repository at this point in the history
Closes: #4
  • Loading branch information
marado committed Nov 9, 2016
1 parent 26d3920 commit 8a4a39b
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 4 deletions.
9 changes: 9 additions & 0 deletions 404.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@
<html lang="en">
<head>
<meta charset="utf-8">
<script>
/*
@licstart All this website, including its Javascript, is released under a GPL v3 License.
Read the License at https://github.com/marado/kokori/blob/gh-pages/LICENSE .
@licend
*/
</script>
<base href="/kokori/" target="_blank">
<title>Kokori</title>
<link rel="alternate" type="application/rss+xml" title="Kokori News" href="news.rss" />
Expand Down
4 changes: 4 additions & 0 deletions js/bootstrap.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later

var _loadScript = function(link, callback) {
var script = document.createElement("script");
script.src = link;
Expand All @@ -17,3 +19,5 @@ _loadScript("js/handlebars-v4.0.5.js", function() {
});
});
});

// @license-end
6 changes: 4 additions & 2 deletions js/handlebars-v4.0.5.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/*!
@license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
handlebars v4.0.5
Copyright (C) 2011-2015 by Yehuda Katz
Expand All @@ -22,7 +24,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
@license
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
Expand Down Expand Up @@ -4605,4 +4606,5 @@ return /******/ (function(modules) { // webpackBootstrap
/***/ }
/******/ ])
});
;
// @license-end
;
6 changes: 4 additions & 2 deletions js/handlebars.runtime-v4.0.5.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
handlebars v4.0.5
@license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt Expat
Copyright (C) 2011-2015 by Yehuda Katz
Permission is hereby granted, free of charge, to any person obtaining a copy
Expand All @@ -22,7 +24,6 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
@license
*/
(function webpackUniversalModuleDefinition(root, factory) {
if(typeof exports === 'object' && typeof module === 'object')
Expand Down Expand Up @@ -1237,4 +1238,5 @@ return /******/ (function(modules) { // webpackBootstrap
/***/ }
/******/ ])
});
;
// @license-end
;
3 changes: 3 additions & 0 deletions js/kokori.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later

var cache = null;
function loadRSS(path, callback) {
Expand Down Expand Up @@ -144,3 +145,5 @@ function handleRSSRequest(link, callback) {
});
callback({html: "... working on it"});
}

// @license-end
3 changes: 3 additions & 0 deletions js/utils.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// @license magnet:?xt=urn:btih:1f739d935676111cfff4b4693e3816e664797050&dn=gpl-3.0.txt GPL-v3-or-Later

window.DEBUG = false;
window.BASE_URL = document.getElementsByTagName("base")[0].getAttribute("href");
Expand Down Expand Up @@ -60,3 +61,5 @@ window.utils = {
createAjaxRequest: ajax,
generatePermalink: link,
};

// @license-end

0 comments on commit 8a4a39b

Please sign in to comment.