aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2019-04-27 12:05:48 -0500
committerJesús <heckyel@hyperbola.info>2019-04-27 12:05:48 -0500
commit409d9df692077a1c085d164b7eadfebb8c543667 (patch)
tree8300ee1520a4d5c611f794f880de91991ab3f5c9
parent918ae531de03e13c87912e1f330f30aa4fd243f9 (diff)
downloadlibretube-409d9df692077a1c085d164b7eadfebb8c543667.tar.lz
libretube-409d9df692077a1c085d164b7eadfebb8c543667.tar.xz
libretube-409d9df692077a1c085d164b7eadfebb8c543667.zip
update librejs license
-rw-r--r--content/pages/libreJS.md2
-rw-r--r--libretube-theme/static/js/menu.js46
2 files changed, 22 insertions, 26 deletions
diff --git a/content/pages/libreJS.md b/content/pages/libreJS.md
index 2fbabb1..e6fa719 100644
--- a/content/pages/libreJS.md
+++ b/content/pages/libreJS.md
@@ -31,7 +31,7 @@ Title: LibreJS
<tr>
<td>3</td>
<td><a href="../../theme/js/menu.js">menu.js</a></td>
- <td><a href="http://www.gnu.org/licenses/gpl-3.0.html">GPL-3.0</a></td>
+ <td><a href="http://www.gnu.org/licenses/agpl-3.0.html">AGPL-3.0</a></td>
<td><a href="../../theme/js/menu.js">menu.js</a></td>
</tr>
<tr>
diff --git a/libretube-theme/static/js/menu.js b/libretube-theme/static/js/menu.js
index 7d02fb9..ee264b2 100644
--- a/libretube-theme/static/js/menu.js
+++ b/libretube-theme/static/js/menu.js
@@ -1,28 +1,24 @@
-/**
- *
- * @licstart The following is the entire license notice for the
- * JavaScript code in this page.
- *
- * Copyright (C) 2019 Jesús E.
- *
- * The JavaScript code in this page is free software: you can
- * redistribute it and/or modify it under the terms of the GNU
- * General Public License (GNU GPL) as published by the Free Software
- * Foundation, either version 3 of the License, or (at your option)
- * any later version. The code is distributed WITHOUT ANY WARRANTY;
- * without even the implied warranty of MERCHANTABILITY or FITNESS
- * FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
- *
- * As additional permission under GNU GPL version 3 section 7, you
- * may distribute non-source (e.g., minimized or compacted) forms of
- * that code without the copy of the GNU GPL normally required by
- * section 4, provided you include this license notice and a URL
- * through which recipients can access the Corresponding Source.
- *
- * @licend The above is the entire license notice
- * for the JavaScript code in this page.
- *
- */
+// @licstart The following is the entire license notice for the
+// JavaScript code in this page.
+//
+// Copyright (C) 2019 Jesús E.
+//
+// Menu is free software: you can redistribute it and/or modify
+// it under the terms of the GNU Affero General Public License as
+// published by the Free Software Foundation, either version 3 of the
+// License, or (at your option) any later version.
+//
+// Menu is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU Affero General Public License for more details.
+//
+// You should have received a copy of the GNU Affero General Public License
+// along with Menu. If not, see <http://www.gnu.org/licenses/>.
+//
+// @licend The above is the entire license notice for the
+// JavaScript code in this page.
+
document.addEventListener('DOMContentLoaded', () => {
function toggleMenu() {