From 3259223c9cac578b2fc53280a795e71e40301e10 Mon Sep 17 00:00:00 2001 From: Zed Date: Mon, 27 Dec 2021 02:43:27 +0100 Subject: [PATCH] Add more license headers --- public/js/hlsPlayback.js | 1 + public/js/infiniteScroll.js | 1 + src/views/opensearch.nimf | 1 + src/views/rss.nimf | 3 ++- 4 files changed, 5 insertions(+), 1 deletion(-) diff --git a/public/js/hlsPlayback.js b/public/js/hlsPlayback.js index 78c575e..5cd46a6 100644 --- a/public/js/hlsPlayback.js +++ b/public/js/hlsPlayback.js @@ -1,4 +1,5 @@ // @license http://www.gnu.org/licenses/agpl-3.0.html AGPL-3.0 +// SPDX-License-Identifier: AGPL-3.0-only function playVideo(overlay) { const video = overlay.parentElement.querySelector('video'); const url = video.getAttribute("data-url"); diff --git a/public/js/infiniteScroll.js b/public/js/infiniteScroll.js index d8c6375..9939c03 100644 --- a/public/js/infiniteScroll.js +++ b/public/js/infiniteScroll.js @@ -1,4 +1,5 @@ // @license http://www.gnu.org/licenses/agpl-3.0.html AGPL-3.0 +// SPDX-License-Identifier: AGPL-3.0-only function insertBeforeLast(node, elem) { node.insertBefore(elem, node.childNodes[node.childNodes.length - 2]); } diff --git a/src/views/opensearch.nimf b/src/views/opensearch.nimf index 4b51c2a..20919ec 100644 --- a/src/views/opensearch.nimf +++ b/src/views/opensearch.nimf @@ -1,4 +1,5 @@ #? stdtmpl(subsChar = '$', metaChar = '#') +## SPDX-License-Identifier: AGPL-3.0-only #proc generateOpenSearchXML*(name, hostname, url: string): string = # result = "" diff --git a/src/views/rss.nimf b/src/views/rss.nimf index 8afdbe1..b6538ad 100644 --- a/src/views/rss.nimf +++ b/src/views/rss.nimf @@ -1,4 +1,5 @@ -#? stdtmpl(subsChar = '$', metaChad = '#') +#? stdtmpl(subsChar = '$', metaChar = '#') +## SPDX-License-Identifier: AGPL-3.0-only #import strutils, xmltree, strformat, options #import ../types, ../utils, ../formatters #