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

Examples don't work #69

Open aronduby opened 11 years ago

aronduby commented 11 years ago

None of your examples work, they all throw the following errors and then no other output is logged:

TypeError: $(...).on is not a function TypeError: $.mobile.Router is not a constructor

azicchetti commented 11 years ago

Hi, I forgot to update the examples for jQM 1.3. I've pushed some changes to fix the most important ones

Kikketer commented 11 years ago

The examples are working like a charm for me, simply cloned and hit index.html (for backbone-requirejs-example)