cms/app-client/app/helpers/array-index.js
author Chloe Laisne <chloe.laisne@gmail.com>
Sat, 15 Oct 2016 16:15:07 +0530
changeset 336 f076ddd29e13
parent 258 12c694392e8e
permissions -rw-r--r--
Playlist scroll to show playing track in view always

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);