cms/app-client/app/helpers/array-index.js
author ymh <ymh.work@gmail.com>
Sat, 17 Dec 2016 23:43:28 +0100
changeset 475 dbb941b9fb66
parent 258 12c694392e8e
permissions -rw-r--r--
add missing territories and the zoom function at counties level

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);