I just looked threw your canjs+require.js example and tried the following without success. I dont know why the route does not work at all when using AMD.
- require(["./controllers/HelloWorldController","can"],function(HolloWorldController,can){
- console.log('App Working');
- can.route.ready(false); // added this to not init route yet
- new HolloWorldController("#contentWrapper"); // Route setup is in this controller posted in the above reply
- can.route.ready(true);// init route
- });