azicchetti / jquerymobile-router

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.
GNU General Public License v2.0
402 stars 69 forks source link

Add support for AMD loading #27

Closed russelldavis closed 12 years ago

russelldavis commented 12 years ago

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.