cms/app-client/app/helpers/array-index.js
author ymh <ymh.work@gmail.com>
Sun, 06 Nov 2016 03:44:16 +0100
changeset 393 5ef3bfef0bff
parent 258 12c694392e8e
permissions -rw-r--r--
add colors to visu chrono

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);