瀏覽代碼

Comply with LibreJs (#165)

https://www.gnu.org/software/librejs/
bopol 6 年之前
父節點
當前提交
52983e5813
共有 3 個文件被更改,包括 6 次插入0 次删除
  1. 2 0
      public/js/hls.light.min.js
  2. 2 0
      public/js/hlsPlayback.js
  3. 2 0
      public/js/infiniteScroll.js

文件差異過大導致無法顯示
+ 2 - 0
public/js/hls.light.min.js


+ 2 - 0
public/js/hlsPlayback.js

@@ -1,3 +1,4 @@
+// @license http://www.gnu.org/licenses/agpl-3.0.html AGPL-3.0
 function playVideo(overlay) {
     const video = overlay.parentElement.querySelector('video');
     const url = video.getAttribute("data-url");
@@ -20,3 +21,4 @@ function playVideo(overlay) {
         });
     }
 }
+// @license-end

+ 2 - 0
public/js/infiniteScroll.js

@@ -1,3 +1,4 @@
+// @license http://www.gnu.org/licenses/agpl-3.0.html AGPL-3.0
 function insertBeforeLast(node, elem) {
     node.insertBefore(elem, node.childNodes[node.childNodes.length - 2]);
 }
@@ -61,3 +62,4 @@ window.onload = function() {
         }
     });
 };
+// @license-end

部分文件因文件數量過多而無法顯示