This is what can.route.ready is for. So when first requiring can call `can.route.ready(false)` and when all routes are initialized and your router instantiated (if you are using the can/control/route plugin) call `can.route.ready(true)`.
↧