Zed 4 лет назад
Родитель
Сommit
3259223c9c
4 измененных файлов с 5 добавлено и 1 удалено
  1. 1 0
      public/js/hlsPlayback.js
  2. 1 0
      public/js/infiniteScroll.js
  3. 1 0
      src/views/opensearch.nimf
  4. 2 1
      src/views/rss.nimf

+ 1 - 0
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");

+ 1 - 0
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]);
 }

+ 1 - 0
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 = ""
 <?xml version="1.0" encoding="UTF-8"?>

+ 2 - 1
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
 #