mytardis/mytardis — pull request #47 by tjdett (2012-01-30 01:26:02+00:00)
Title: Javascript Unit Testing

This series of patches pulls the the custom javascript out of the HTML, then uses [Jasmine](http://pivotal.github.com/jasmine/) to unit-test it.

You can run tests by running `bin/django testserver` and then going to the [Jasmine Spec Runner](http://localhost:8000/jasmine/). Once merged, I'll add JS tests to the [pull-request checklist](https://github.com/mytardis/mytardis/wiki/Pull-Request-Checklist).

The rearrangement of external JS/CSS also makes metrics in Ohloh a lot easier to get right (as only two directories need to be excluded).