Update vendor/backbone and vendor/requirejs.

This commit is contained in:
John-David Dalton
2014-03-17 00:43:13 -07:00
parent 65c3dbba2c
commit d2a4611d1e
4 changed files with 29 additions and 15 deletions

View File

@@ -788,7 +788,22 @@
}
}
});
var router = new Router;
new Router;
Backbone.history.start({pushState: true});
});
test('newline in route', 1, function() {
location.replace('http://example.com/stuff%0Anonsense?param=foo%0Abar');
Backbone.history.stop();
Backbone.history = _.extend(new Backbone.History, {location: location});
var Router = Backbone.Router.extend({
routes: {
'stuff\nnonsense': function() {
ok(true);
}
}
});
new Router;
Backbone.history.start({pushState: true});
});