use strict

This commit is contained in:
meow 2022-04-20 11:38:24 +03:00
parent 2ea986326d
commit eb7e48b059
9 changed files with 9 additions and 0 deletions

View File

@ -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) {

View File

@ -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) {

View File

@ -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;

View File

@ -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);

View File

@ -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) {

View File

@ -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');

View File

@ -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);';

View File

@ -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) {

View File

@ -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) {