UNPKG

zcatalyst-cli

Version:

Command Line Tool for CATALYST

15 lines (10 loc) 325 B
// Lyte.Router.configureDefaults({baseURL:'',history : "html5"}); Lyte.Router.configureRoutes(function(){ this.route('index',{path:'/'}); }); Lyte.Router.beforeRouteTransition = function() { //console.log('before Route Change'); } Lyte.Router.afterRouteTransition = function() { //console.log('after Route Change'); }