Fix Cli Test fails: JavaScript Standard Style
This commit is contained in:
@@ -13,14 +13,13 @@ var {dispatch, dispatcher} = require('../lib/dispatcher')
|
||||
// Handles volume change by wheel
|
||||
var handleVolumeWheel = function (e) {
|
||||
dispatch('changeVolume', (-e.deltaY | e.deltaX) / 500)
|
||||
};
|
||||
}
|
||||
|
||||
// Shows a streaming video player. Standard features + Chromecast + Airplay
|
||||
function Player (state) {
|
||||
// Show the video as large as will fit in the window, play immediately
|
||||
// If the video is on Chromecast or Airplay, show a title screen instead
|
||||
var showVideo = state.playing.location === 'local';
|
||||
|
||||
var showVideo = state.playing.location === 'local'
|
||||
return hx`
|
||||
<div
|
||||
class='player'
|
||||
|
||||
Reference in New Issue
Block a user