Aidan Feldman
f49969014c
clean up tests to use fresh object instances for each run, and don't set
...
globals within test files
2012-03-12 04:27:22 -04:00
Jeremy Ashkenas
5ef4921c54
merging async test.
2012-02-27 14:37:50 -05:00
Jeremy Ashkenas
f930b5f042
adding additional router test
2012-02-27 14:37:13 -05:00
Jeremy Ashkenas
07604deac0
merging in hash fixer for FF
2012-02-27 14:30:23 -05:00
Jeremy Ashkenas
e5db1c93d0
Merge pull request #1011 from wookiehangover/issue996
...
adding test coverage for route precedence as per issue #996
2012-02-15 09:04:30 -08:00
Sam Breed
8d8a3599a9
adding test coverage for route precedence as per issue #996
2012-02-14 23:18:46 -07:00
Brad Dunbar
232c888038
fixes #1003 - History is started before navigate
2012-02-15 00:39:38 -05:00
Jake Harding
17459a316b
Adding test for #967 .
2012-02-07 14:17:53 -08:00
Brad Dunbar
3ef9c3a5fc
Add tests for #908 , #933 .
2012-02-03 10:17:45 -05:00
Jeremy Ashkenas
96a7274cf7
Fixes #538 -- adds Backbone.history.stop() for unit testers.
2012-01-23 10:31:53 -05:00
Brad Dunbar
397d11e340
equals is deprecated; use equal instead
...
http://docs.jquery.com/QUnit/equal#actualexpectedmessage
2012-01-17 23:52:12 -05:00
Brad Dunbar
57ef21839b
use implicit callback if none provided
2012-01-17 12:12:20 -05:00
Jeremy Ashkenas
5b43cd9dd1
Fixes #419 -- add a global 'route' event, on Bacckbone.history.
2012-01-13 13:47:55 -05:00
Jeremy Ashkenas
d5ff5e32f6
Fixes #786 (and others) -- leading slashes should never be defined as routes, or passed to navigate ... so strip 'em out proactively.
2012-01-12 18:10:41 -05:00
Jeremy Ashkenas
2312b9072c
adding a test to ensure that routes aren't triggered multiple times. #849
2012-01-11 12:11:10 -05:00
Jeremy Ashkenas
1332246b8f
merging in #750 -- support for replaceSTate
2011-11-23 14:59:14 -05:00
Aidan Feldman and Tim Harper
df7c279dc2
Navigate learns to change the route without adding a history entry
...
Also, instead of accepting a single boolean for trigger, the navigate
method now accepts an options object, with the following options:
- replace
- trigger
If you pass true instead of an options object, it's interpreted as
{trigger: true}
* pushState support - Aidan Feldman
* hashtag support and IE7 support - Tim Harper
* Tests were a joint effort.
2011-11-17 15:42:29 -07:00
Derick Bailey
6799c8e8be
added a test and code to allow a router to define a route with no callback method for the route name
2011-10-06 19:09:53 -05:00
Jeremy Ashkenas
da6d0b90ca
resolving merge conflict, removing old test.
2011-07-05 09:42:15 -04:00
Jeremy Ashkenas
d2082a54cf
issue #451 + test.
2011-07-01 18:54:49 -04:00
Jeremy Ashkenas
ba1d9a1efd
removing complex router text (unfixable)
2011-06-29 21:20:33 -04:00
Francis Gulotta
621c9edfc6
Test complex query strings. Fails in some browsers.
2011-06-17 15:37:12 -04:00
Jeremy Ashkenas
cf3215139a
initial draft of a 0.5.0 branch
2011-05-26 10:54:28 -04:00