mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
use strict
This commit is contained in:
parent
2ea986326d
commit
eb7e48b059
9 changed files with 9 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
||||||
|
'use strict';
|
||||||
var community_data = JSON.parse(document.getElementById('community_data').innerHTML);
|
var community_data = JSON.parse(document.getElementById('community_data').innerHTML);
|
||||||
|
|
||||||
String.prototype.supplant = function (o) {
|
String.prototype.supplant = function (o) {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
'use strict';
|
||||||
var video_data = JSON.parse(document.getElementById('video_data').innerHTML);
|
var video_data = JSON.parse(document.getElementById('video_data').innerHTML);
|
||||||
|
|
||||||
function get_playlist(plid, retries) {
|
function get_playlist(plid, retries) {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
'use strict';
|
||||||
var notification_data = JSON.parse(document.getElementById('notification_data').innerHTML);
|
var notification_data = JSON.parse(document.getElementById('notification_data').innerHTML);
|
||||||
|
|
||||||
var notifications, delivered;
|
var notifications, delivered;
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
'use strict';
|
||||||
var player_data = JSON.parse(document.getElementById('player_data').innerHTML);
|
var player_data = JSON.parse(document.getElementById('player_data').innerHTML);
|
||||||
var video_data = JSON.parse(document.getElementById('video_data').innerHTML);
|
var video_data = JSON.parse(document.getElementById('video_data').innerHTML);
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
'use strict';
|
||||||
var playlist_data = JSON.parse(document.getElementById('playlist_data').innerHTML);
|
var playlist_data = JSON.parse(document.getElementById('playlist_data').innerHTML);
|
||||||
|
|
||||||
function add_playlist_video(target) {
|
function add_playlist_video(target) {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
'use strict';
|
||||||
var subscribe_data = JSON.parse(document.getElementById('subscribe_data').innerHTML);
|
var subscribe_data = JSON.parse(document.getElementById('subscribe_data').innerHTML);
|
||||||
|
|
||||||
var subscribe_button = document.getElementById('subscribe');
|
var subscribe_button = document.getElementById('subscribe');
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
'use strict';
|
||||||
var toggle_theme = document.getElementById('toggle_theme');
|
var toggle_theme = document.getElementById('toggle_theme');
|
||||||
toggle_theme.href = 'javascript:void(0);';
|
toggle_theme.href = 'javascript:void(0);';
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
'use strict';
|
||||||
var video_data = JSON.parse(document.getElementById('video_data').innerHTML);
|
var video_data = JSON.parse(document.getElementById('video_data').innerHTML);
|
||||||
|
|
||||||
String.prototype.supplant = function (o) {
|
String.prototype.supplant = function (o) {
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
'use strict';
|
||||||
var watched_data = JSON.parse(document.getElementById('watched_data').innerHTML);
|
var watched_data = JSON.parse(document.getElementById('watched_data').innerHTML);
|
||||||
|
|
||||||
function mark_watched(target) {
|
function mark_watched(target) {
|
||||||
|
|
Loading…
Reference in a new issue