function is not needed

This commit is contained in:
Joffrey JAFFEUX 2017-07-19 12:06:04 +02:00
parent 7739b2f53e
commit 0b98bfe1dc
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ export default Ember.Component.extend({
$recentSection.css("height", "auto").show();
}
const recentEmojis = _.map(this.get("recentEmojis"), function(emoji) {
const recentEmojis = _.map(this.get("recentEmojis"), emoji => {
return { code: emoji.title, src: emojiUrlFor(emoji.title) };
});
const model = { recentEmojis };