Skip to content

Commit

Permalink
Comply with LibreJs (zedeus#165)
Browse files Browse the repository at this point in the history
  • Loading branch information
B0pol authored May 23, 2020
1 parent 62f8edf commit 52983e5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion public/js/hls.light.min.js

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions public/js/hlsPlayback.js
Original file line number Diff line number Diff line change
@@ -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");
Expand All @@ -20,3 +21,4 @@ function playVideo(overlay) {
});
}
}
// @license-end
2 changes: 2 additions & 0 deletions public/js/infiniteScroll.js
Original file line number Diff line number Diff line change
@@ -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]);
}
Expand Down Expand Up @@ -61,3 +62,4 @@ window.onload = function() {
}
});
};
// @license-end

0 comments on commit 52983e5

Please sign in to comment.