Ensure iframe hash is set.

This commit is contained in:
Brad Dunbar
2014-11-16 10:16:26 -05:00
parent 78b41d663e
commit efb60cc223
2 changed files with 33 additions and 37 deletions

View File

@@ -375,14 +375,6 @@
strictEqual(Backbone.history.getFragment(), 'foo');
});
test("#1003 - History is started before navigate is called", 1, function() {
Backbone.history.stop();
Backbone.history.navigate = function(){ ok(Backbone.History.started); };
Backbone.history.start();
// If this is not an old IE navigate will not be called.
if (!Backbone.history.iframe) ok(true);
});
test("#967 - Route callback gets passed encoded values.", 3, function() {
var route = 'has%2Fslash/complex-has%23hash/has%20space';
Backbone.history.navigate(route, {trigger: true});