cms/app-client/app/helpers/array-index.js
author Chloe Laisne <chloe.laisne@gmail.com>
Tue, 18 Oct 2016 18:05:11 +0530
changeset 355 83f5247f3c7a
parent 258 12c694392e8e
permissions -rw-r--r--
Fix carto counts and map colors

import Ember from 'ember';

export function arrayIndex(params/*, hash*/) {
  return params[0][params[1]];
}

export default Ember.Helper.helper(arrayIndex);