 
       elem.addClass 'negative' if parseInt(number, 10) < 0
 
+  # Take a string like 'Asgard.Whiteboard.Entry' and retrieve the real class
+  # with that name. Start at `window` and work down from there.
   @_stringToClass: (string) ->
     pieces = string.split('.')
 

    @initialize()

  initialize: ->
    $('[data-js-class]').each (index, elem) ->
      element = $(elem)
      klass = Fustrate._stringToClass element.data('js-class')


    "<i class=\"fa #{classes}\"></i>"

# Replicate a few comment prototype methods on String and Array
String::titleize = ->
  @replace(/_/g, ' ').replace /\b[a-z]/g, (char) -> char.toUpperCase()

