A clean and minimal youtube frontend, without all the ads and whistles
JavaScript
chore: less log repo getVideos
Christian Fei1481b4102c22
diff --git a/lib/repository.js b/lib/repository.jsindex fb01b60..b94b0fb 100644--- a/lib/repository.js+++ b/lib/repository.js@@ -68,9 +68,8 @@ export default class Repository {const videos = this.videos.sort((a, b) => +new Date(b.publishedAt) - +new Date(a.publishedAt)).sort((a, b) => (b.ignored ? -1 : 0) + (a.ignored ? 1 : 0))- .filter((_, i) => i < 500)-- console.log('get videos', videos.length)+ // .filter((_, i) => i < 500)+ // console.log('get videos', videos.length)return videos}