codysoyland/django-qunit — pull request #4 by tomarra (2011-12-23 03:00:34+00:00)
Title: Add support for CoffeeScript files

Add the ability to include CoffeeScript files (.coffee) into the index page for testing. Will only work if django-compressor is installed and configured to precompile the .coffee files.

CoffeeScript is gaining popularity so I figured I would try it out. It's a very nice way to write JavaScript but you still have to compile it down to JS in order to unit test it with QUnit. Simply add a new set of path's in a new coffeescript_urls data set and they are automagically compressed and added to the index page.