mirror of
https://github.com/jashkenas/backbone.git
synced 2026-04-30 03:00:06 -04:00
removing complex router text (unfixable)
This commit is contained in:
@@ -97,16 +97,6 @@ $(document).ready(function() {
|
||||
start();
|
||||
}, 10);
|
||||
});
|
||||
|
||||
asyncTest("Router: routes (complex query)", 2, function() {
|
||||
var complex = '~!@#$%^&*()=+[]{}\\;:\'",/? ';
|
||||
window.location.hash = 'complex?' + encodeURIComponent(complex);
|
||||
setTimeout(function() {
|
||||
equals(router.entity, 'complex');
|
||||
equals(router.queryArgs, complex);
|
||||
start();
|
||||
}, 10);
|
||||
});
|
||||
|
||||
asyncTest("Router: routes (anything)", 1, function() {
|
||||
window.location.hash = 'doesnt-match-a-route';
|
||||
|
||||
Reference in New Issue
Block a user