Backbone Router On Any Page Change Event
I have the following routes: routes: { '' : 'showSchedulePage', 'Assignment/:assignmentTitle' : 'showAssignment', ':pageType/:pageName'
Solution 1:
Backbone plugin Routefilter allows you to define actions, which should be invoked before and after any route is executed. This allows you to extract common code from route handlers.
Post a Comment for "Backbone Router On Any Page Change Event"