$.Route Demo

View qunit test results

Use these links to modify the hash or change it directly in the address bar:

URLs with a registered path: #!pages/val1/val2/val3 #!pages/val1// #!pages/// #!/val1/val2
URLs without paths: #!pages// #!///
Empty hash: #!

Hash update events:

Value1:
Value2:
Value3:

Data update events: