How to test Backbone Model and Collections webapp using nodeJs and vows.
I used the Todos exemple of Backbone + RequireJS : https://github.com/addyosmani/todomvc/tree/master/todo-example/backbone+require
I added on each requireJs module an amdefine definition : https://github.com/jrburke/amdefine
In fact it's just one line to add before define([...], function(){...});
if (typeof define !== 'function') { var define = (require('amdefine'))(module); }