Skip to content

Commit

Permalink
Use dot notation
Browse files Browse the repository at this point in the history
  • Loading branch information
misteroneill committed Aug 17, 2015
1 parent 29837cd commit 17adea1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/js/slider/slider.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ class Slider extends Component {
super(player, options);

// Set property names to bar to match with the child Slider class is looking for
this.bar = this.getChild(this.options_['barName']);
this.bar = this.getChild(this.options_.barName);

// Set a horizontal or vertical class on the slider depending on the slider type
this.vertical(!!this.options_['vertical']);
this.vertical(!!this.options_.vertical);

this.on('mousedown', this.handleMouseDown);
this.on('touchstart', this.handleMouseDown);
Expand Down

0 comments on commit 17adea1

Please sign in to comment.