     str.substring(0, length - omission.length) + omission
   else str
 
-Ember.Handlebars.registerBoundHelper 'money', (value=0, params={}) ->
+module.exports.money = (value=0, params={}) ->
   options = params.hash || {}
   currency = options.currency || "€"
   prefix = options.prefix || false

  else
    "#{formatted_value}#{currency}"


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