spec'ing the load method
This module is a method, so lets give it a verb name rather than a noun name
made the specs run on old IE
made the test jazzy
added when.js Promise support. load.js now returns a promise which resolves when all viewmodels have been loaded and applied
cleaned up the loading code a bit
added specs for loading of model data into the viewmodel
Added support for a when function to be passed to the constructor as the second argument.
renamed load to the more appropriate applyViewModels (which is what it does).
Starting work on the spa implementation.
Added a start method, which applies viewModels to the current page
renamed the subscribe function to subscribe (from when, which is confusing in this context)
Introduced the concept of givens, which moves a lot of dummy object creation out of the tests.
Added a way to create a single event
Lets return a promise instead
ViewModules should use the provided when method to subscribe to events
Merge branch 'reorganize' into HEAD
because can be used as a synonym of beforeEach
Started working on the templates finding and loading
Reorganized the spa modules, just like the QVC modules. All spa modules will now be under the spa folder.
Lets use the actual function instead of a string when comparing types