     @initialize()
 
   initialize: ->
+    # Loop through every element on the page with a data-js-class attribute
+    # and convert the data attribute's value to a real object. Then instantiate
+    # a new object of that class.
     $('[data-js-class]').each (index, elem) ->
       element = $(elem)
       klass = Fustrate._stringToClass element.data('js-class')


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

String::titleize = ->
  @replace(/_/g, ' ').replace /\b[a-z]/g, (char) -> char.toUpperCase()



      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('.')

