1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

update live tv tabs

This commit is contained in:
Luke Pulverenti 2016-05-15 13:11:26 -04:00
parent 26dcecb51f
commit 2fd65cdcd9
7 changed files with 513 additions and 502 deletions

View file

@ -1,17 +1,15 @@
define(['tvguide'], function (tvguide) {
window.LiveTvPage.initGuideTab = function (page, tabContent) {
};
window.LiveTvPage.renderGuideTab = function (page, tabContent) {
if (!page.guideInstance) {
page.guideInstance = new tvguide({
element: tabContent
});
}
};
define(['tvguide'], function (tvguide) {
return function (view, params, tabContent) {
var self = this;
var guideInstance;
self.renderTab = function () {
if (!guideInstance) {
guideInstance = new tvguide({
element: tabContent
});
}
};
};
});