Update snippets/StarRating.md

Co-Authored-By: Chalarangelo <chalarangelo@gmail.com>
This commit is contained in:
Robert Mennell
2018-10-19 09:42:38 +03:00
committed by GitHub
parent 54185cb970
commit c7f1c64598

View File

@ -28,6 +28,7 @@ const StarRating = (function() {
selection: 0 selection: 0
}; };
this.hoverOver = this.hoverOver.bind(this); this.hoverOver = this.hoverOver.bind(this);
this.hoverOut = this.hoverOver.bind(this, null);
this.handleClick = this.handleClick.bind(this); this.handleClick = this.handleClick.bind(this);
} }
hoverOver(event) { hoverOver(event) {