jellyfin-web/dashboard-ui/scripts/livetvguide.js
2017-01-27 22:16:59 -05:00

1 line
336 B
JavaScript

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