Skip to content

Commit

Permalink
Merge pull request #43 from noslouch/event-param
Browse files Browse the repository at this point in the history
include event in granular state changes
  • Loading branch information
oskarrough authored Mar 19, 2018
2 parents c41ffd2 + e1a4242 commit f673696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addon/components/ember-youtube.js
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ export default Component.extend({
debug(state);
}
// send actions outside
this.sendAction(state);
this.sendAction(state, event);
this.sendAction('playerStateChanged', event);
// send actions inside
this.send(state);
Expand Down

0 comments on commit f673696

Please sign in to comment.