cms/app-client/app/helpers/array-index.js
author ymh <ymh.work@gmail.com>
Tue, 20 Dec 2016 23:42:18 +0100
changeset 481 002a05cd849f
parent 258 12c694392e8e
permissions -rw-r--r--
add color gradient to map visualisaion

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);