From 07cc454b410a2b027960971662757810bd301f5d Mon Sep 17 00:00:00 2001 From: Maxime Quandalle Date: Mon, 24 Aug 2015 23:30:56 +0200 Subject: Upgrade meteor to 1.2-rc.4 and package versions The new version of meteor speeds up the reload cycle, which is super valuable during the development. I also removed the "imply-everything" "meteor-platform" package in favor of a more fined-grained package selection. This version also introduces ES6 support with transparent babeljs transpilation. Most features are enable (with the notable exception of ES6 modules) and this commit started to use them in places where a XXX comment suggested it. --- client/components/cards/details.js | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'client/components/cards') diff --git a/client/components/cards/details.js b/client/components/cards/details.js index 05da2053..7c09ba81 100644 --- a/client/components/cards/details.js +++ b/client/components/cards/details.js @@ -40,11 +40,10 @@ BlazeComponent.extendComponent({ }, events: function() { - // XXX We can't define this event directly in the event map below because we - // miss ES6 object keys interpolation. - var events = {}; - events[CSSEvents.animationend + ' .js-card-details'] = function() { - this.isLoaded.set(true); + var events = { + [CSSEvents.animationend + ' .js-card-details']: function() { + this.isLoaded.set(true); + } }; return [_.extend(events, { -- cgit v1.2.3-1-g7c22