matthucke/graveyards4

View on GitHub
app/assets/javascripts/application/extensions.js.coffee

Summary

Maintainability
Test Coverage

# Extend jquery.
( ($)->
    # get classes as list
    $.fn.classes = ->
      klass = this.attr('class')
      if klass then klass.split(/\s+/) else []

)(jQuery)