Skip to content

Commit

Permalink
Fix jshint issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
gkatsev committed Sep 10, 2015
1 parent 16616ff commit 1430736
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/js/control-bar/progress-control/mouse-time-display.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class MouseTimeDisplay extends SeekBar {
this.on(player.controlBar.progressControl.el(), 'mousemove', throttle(Fn.bind(this, this.handleMouseMove), 50));
});

this.bar_ = this.el().querySelector('.vjs-mouse-display-bar')
this.bar_ = this.el().querySelector('.vjs-mouse-display-bar');
this.bar = {
el: () => this.bar_
};
Expand Down Expand Up @@ -61,7 +61,6 @@ class MouseTimeDisplay extends SeekBar {
}

updateDataAttr() {
//this.mouseDisplayBar.updateDataAttr(formatTime(this.newTime, this.player_.duration()));
let time = formatTime(this.newTime, this.player_.duration());
this.bar && this.bar.el().setAttribute('data-current-time', time);
}
Expand Down
2 changes: 1 addition & 1 deletion src/js/control-bar/progress-control/seek-bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class SeekBar extends Slider {
props = assign({
'aria-label': 'video progress bar'
}, props);
props.className = 'vjs-progress-holder' + (props.className ? ' ' + props.className : ''),
props.className = 'vjs-progress-holder' + (props.className ? ' ' + props.className : '');
return super.createEl(type, props);
}

Expand Down

0 comments on commit 1430736

Please sign in to comment.