I'm confused by this example:
export default Component.extend({
keyUp(event) {
if (event.which === 13) {
this.attrs['on-enter'](this.$().val());
}
}
});
This is invalid ES5. I assume this is new ES6 module syntax, specifically the `keyUp(event) {`?