marionette.enhancedrouter

1.5.5 • Public • Published

backbone.lazyrouter

Build Status

A Backbone extended Router with lazy load logic

This main router usage is to setup a Router to register all your routes, but to defer the logic.

It might help you if :

  • you want to have multiple routers attached, each one used for one or more routes. Only one controller will respond to a given route.
  • the router will wait for a controller to be defined when a route is triggered.

TODO:

  • documentation
  • tests

This is already used in some projects but use at your own risks!

Package Sidebar

Install

npm i marionette.enhancedrouter

Weekly Downloads

0

Version

1.5.5

License

MIT

Last publish

Collaborators

  • stephane.bachelier