This step is used to execute route handlers on page load. Calling init method is not mandatory. It is used only when a route handler needs to be called on page load. 2. Add a route handler A route ...
$.route( { //always match //http://example.com/foo/bar/baz.html path: /./, func: function() { console.log("always match!"); } }, { //url contains /sample/index.html ...