cms/app-client/app/helpers/contains.js
author ymh <ymh.work@gmail.com>
Sat, 17 Dec 2016 23:43:28 +0100
changeset 475 dbb941b9fb66
parent 392 4fbe94af93e8
child 532 1190ea937f2d
permissions -rw-r--r--
add missing territories and the zoom function at counties level

import Ember from 'ember';
import _ from 'lodash/lodash';

export function contains(params) {
    return _.contains(params[0], params[1]);
}

export default Ember.Helper.helper(contains);