   else
     "#{formatted_value}#{currency}"
 
+Ember.Handlebars.registerBoundHelper 'truncate', module.exports.truncate
+Ember.Handlebars.registerBoundHelper 'money', module.exports.money

    str.substring(0, length - omission.length) + omission
  else str

Ember.Handlebars.registerBoundHelper 'money', (value=0, params={}) ->
  options = params.hash || {}
  currency = options.currency || "€"
  prefix = options.prefix || false

module.exports.truncate = (str='', params={}) ->
  options = params.hash || {}
  length = options.length || 90
  omission = options.omission || '...'
