ready
can.route.ready
can.route.ready( readyYet )
Pause and resume the initialization of can.route.
Parameters
-
readyYet
{Boolean}
OptionalWhether the ready event should be fired yet.
Returns
{can.route(template, defaults)}
The can.route
object.
Indicates that all routes have been added and sets can.route.data based upon the routes and the current hash.
By default, ready is fired on jQuery's ready event. Sometimes you might want it to happen sooner or earlier. To do this, call: