Skip to content

Commit 271df4c

Browse files
refactor: comments out debugging logs
1 parent 376fa4a commit 271df4c

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

static/plugins/youmax/youmax.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ var youmax_global_options = {};
164164

165165
initFeaturedVideos = function () {
166166
youTubePlaylistURL = youmax_global_options.youTubePlaylistURL;
167-
console.log('inside init featured - '+youTubePlaylistURL);
167+
// console.log('inside init featured - '+youTubePlaylistURL);
168168
if(null!=youTubePlaylistURL&&youTubePlaylistURL.indexOf("youtube.com/playlist?list=")!=-1) {
169169
youmaxFeaturedPlaylistId = youTubePlaylistURL.substring(youTubePlaylistURL.indexOf("?list=")+6);
170170
youmax_global_options.youmaxFeaturedPlaylistId = youmaxFeaturedPlaylistId;
@@ -174,8 +174,8 @@ var youmax_global_options = {};
174174

175175

176176
showInfo = function(response) {
177-
console.log('showInfo');
178-
console.log(response);
177+
// console.log('showInfo');
178+
// console.log(response);
179179

180180
var channelData = response.items[0];
181181
var channelId = channelData.id;
@@ -234,7 +234,7 @@ var youmax_global_options = {};
234234

235235

236236
showPlaylists = function(response,loadMoreFlag) {
237-
console.log(response);
237+
// console.log(response);
238238

239239
if(!loadMoreFlag) {
240240
$('#youmax-video-list-div').empty();
@@ -307,7 +307,7 @@ var youmax_global_options = {};
307307
},
308308

309309
showUploads = function(response,playlistTitle,loadMoreFlag) {
310-
console.log(response);
310+
// console.log(response);
311311

312312
if(!loadMoreFlag) {
313313
$('#youmax-video-list-div').empty();
@@ -426,7 +426,7 @@ var youmax_global_options = {};
426426
var uploadsPlaylistId = youmaxTabId.substring(youmaxTabId.indexOf('_')+1);
427427
var apiUploadURL = "https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId="+uploadsPlaylistId+"&maxResults="+youmax_global_options.maxResults+pageTokenUrl+"&key="+youmax_global_options.apiKey;
428428

429-
console.log('apiUploadURL-'+apiUploadURL);
429+
// console.log('apiUploadURL-'+apiUploadURL);
430430

431431
$.ajax({
432432
url: apiUploadURL,

0 commit comments

Comments
 (0)