This repository has been archived by the owner on Dec 6, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid arrow function to support es5-only browsers
- Loading branch information
8966d4f
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This changes the this keyword, making
this.emit('click', id)
not work.The ES6 arrow function was requested here #210
The build scripts already use uglify-es.
The earlier ES5 version: