A router/controller for jquery mobile. Also adds support for client-side parameters in the hash part of the url. The routes handles regexp based routes. This plugin can be used alone or (better) with Backbone.js or Spine.js, because it's originally meant to replace their router with something integrated with jQM.
I see you already have an example loading jquerymobile-router via requirejs, but it uses a custom shim. Using this change, along with the AMD versions of backbone and underscore, no shims are required.
I see you already have an example loading jquerymobile-router via requirejs, but it uses a custom shim. Using this change, along with the AMD versions of backbone and underscore, no shims are required.