export function truncateText(params, hash) {
  var value = params[0];
  var len = hash.limit;
  var out = '';

  if (value !== undefined) {
    out = value.substr(0, len);

    if (value.length > len) {
      out += '...';
    }

  } else {
    out = '';
  }

  return out;
}

export default Ember.Helper.helper(truncateText);

@@ -1,12 +1,40 @@
+import Ember from 'ember';%0A%0A
 export funct

fix helper