cms/app-client/app/helpers/eq.js
author Chloe Laisne <chloe.laisne@gmail.com>
Mon, 04 Jul 2016 17:56:05 +0200
changeset 221 0bee030d7411
parent 214 9bff007eb03c
permissions -rw-r--r--
Add popcorn-js in dependencies Run [bower install]

import Ember from 'ember';

export function eq(params) {
    return params[0] === params[1];
}

export default Ember.Helper.helper(eq);