cms/app-client/app/helpers/array-index.js
author ymh <ymh.work@gmail.com>
Mon, 31 Oct 2016 14:24:23 +0100
changeset 386 c731ab9b934d
parent 258 12c694392e8e
permissions -rw-r--r--
implement first version of sparql client interface

import Ember from 'ember';

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

export default Ember.Helper.helper(arrayIndex);