Beautified all js in web dashboard

This commit is contained in:
Vasily 2018-10-23 01:05:09 +03:00
parent 5895f209e7
commit 6bfd795635
346 changed files with 72978 additions and 375 deletions

View file

@ -1 +1,10 @@
define([],function(){"use strict";function getDisplayPlayMethod(session){return session.NowPlayingItem?session.TranscodingInfo&&session.TranscodingInfo.IsVideoDirect?"DirectStream":"Transcode"===session.PlayState.PlayMethod?"Transcode":"DirectStream"===session.PlayState.PlayMethod?"DirectPlay":"DirectPlay"===session.PlayState.PlayMethod?"DirectPlay":void 0:null}return{getDisplayPlayMethod:getDisplayPlayMethod}});
define([], function() {
"use strict";
function getDisplayPlayMethod(session) {
return session.NowPlayingItem ? session.TranscodingInfo && session.TranscodingInfo.IsVideoDirect ? "DirectStream" : "Transcode" === session.PlayState.PlayMethod ? "Transcode" : "DirectStream" === session.PlayState.PlayMethod ? "DirectPlay" : "DirectPlay" === session.PlayState.PlayMethod ? "DirectPlay" : void 0 : null
}
return {
getDisplayPlayMethod: getDisplayPlayMethod
}
});