Invidious is an alternative front-end to YouTube
use strict
meoweb7e48b05999
diff --git a/assets/js/community.js b/assets/js/community.jsindex 4077f1cd..2e7a1f6d 100644--- a/assets/js/community.js+++ b/assets/js/community.js@@ -1,3 +1,4 @@+'use strict';var community_data = JSON.parse(document.getElementById('community_data').innerHTML);String.prototype.supplant = function (o) {diff --git a/assets/js/embed.js b/assets/js/embed.jsindex 9d0be0ea..7d66c8c4 100644--- a/assets/js/embed.js+++ b/assets/js/embed.js@@ -1,3 +1,4 @@+'use strict';var video_data = JSON.parse(document.getElementById('video_data').innerHTML);function get_playlist(plid, retries) {diff --git a/assets/js/notifications.js b/assets/js/notifications.jsindex 3d1ec1ed..68ea1e15 100644--- a/assets/js/notifications.js+++ b/assets/js/notifications.js@@ -1,3 +1,4 @@+'use strict';var notification_data = JSON.parse(document.getElementById('notification_data').innerHTML);var notifications, delivered;diff --git a/assets/js/player.js b/assets/js/player.jsindex f5bec651..496cdfd0 100644--- a/assets/js/player.js+++ b/assets/js/player.js@@ -1,3 +1,4 @@+'use strict';var player_data = JSON.parse(document.getElementById('player_data').innerHTML);var video_data = JSON.parse(document.getElementById('video_data').innerHTML);diff --git a/assets/js/playlist_widget.js b/assets/js/playlist_widget.jsindex 0ec27859..971f3806 100644--- a/assets/js/playlist_widget.js+++ b/assets/js/playlist_widget.js@@ -1,3 +1,4 @@+'use strict';var playlist_data = JSON.parse(document.getElementById('playlist_data').innerHTML);function add_playlist_video(target) {diff --git a/assets/js/subscribe_widget.js b/assets/js/subscribe_widget.jsindex 216c36fe..bb6c7556 100644--- a/assets/js/subscribe_widget.js+++ b/assets/js/subscribe_widget.js@@ -1,3 +1,4 @@+'use strict';var subscribe_data = JSON.parse(document.getElementById('subscribe_data').innerHTML);var subscribe_button = document.getElementById('subscribe');diff --git a/assets/js/themes.js b/assets/js/themes.jsindex 0214a7f0..2f4680c7 100644--- a/assets/js/themes.js+++ b/assets/js/themes.js@@ -1,3 +1,4 @@+'use strict';var toggle_theme = document.getElementById('toggle_theme');toggle_theme.href = 'javascript:void(0);';diff --git a/assets/js/watch.js b/assets/js/watch.jsindex 1579abf4..43df0561 100644--- a/assets/js/watch.js+++ b/assets/js/watch.js@@ -1,3 +1,4 @@+'use strict';var video_data = JSON.parse(document.getElementById('video_data').innerHTML);String.prototype.supplant = function (o) {diff --git a/assets/js/watched_widget.js b/assets/js/watched_widget.jsindex ba741974..372cbbab 100644--- a/assets/js/watched_widget.js+++ b/assets/js/watched_widget.js@@ -1,3 +1,4 @@+'use strict';var watched_data = JSON.parse(document.getElementById('watched_data').innerHTML);function mark_watched(target) {