Basic route stuff working

This commit is contained in:
Max Lynch
2013-09-19 23:48:11 -05:00
parent 1814b0e781
commit 32b59ff372
3 changed files with 70 additions and 13 deletions

View File

@ -0,0 +1,14 @@
describe('RouteController', function() {
beforeEach(function() {
});
it('Should init', function() {
var rc = new RouteViewController({
root: 'hacking/route.html';
});
rc.when('/', function() {
console.log('Loaded');
});
});
});