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

move all library pages to their own folders

This commit is contained in:
dkanada 2019-08-15 21:25:43 -07:00
parent cfb67bb5d1
commit 8bec0ad63d
25 changed files with 25 additions and 25 deletions

View file

@ -0,0 +1,16 @@
define(["tvguide"], function(tvguide) {
"use strict";
return function(view, params, tabContent) {
var guideInstance, self = this;
self.renderTab = function() {
guideInstance || (guideInstance = new tvguide({
element: tabContent,
serverId: ApiClient.serverId()
}))
}, self.onShow = function() {
guideInstance && guideInstance.resume()
}, self.onHide = function() {
guideInstance && guideInstance.pause()
}
}
});