Add watchr script for auto-running all specs after each change to pro…
…duction/spec js file.
Works with the latest zombie (0.9.4).
Add script for running all (unit/acceptance) specs.
Move 3rd party js files to dedicated directory.
Extract private .showLatestTrends.
Split application to main skeleton and trends module.
Rename path serving static files from /public to /static.
Add jsTestDriver setup and a test for unhappy path when loading trends.
- Using https://github.com/ibolmo/jasmine-jstd-adapter as the bridge between Jasmine and JSTD.
- jQuery.ajax is overridden using https://github.com/mileskin/jasmine-fake-ajax. Unhappy paths and corner cases are much more convenient (faster too) to test when faking ajax calls.
Upgrade jQuery to 1.5.
Use excellent tav module for handling command line arguments.
Use installed jasmine-node module.
Extract .whenPageHasLoaded HOF.
Remove ugly debug style.
Toggle trends using link.