mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
Update vendors, builds, and docs.
Former-commit-id: d57931d657ac0e73d91ac1bd1b33e24be5a16f35
This commit is contained in:
4
vendor/backbone/test/router.js
vendored
4
vendor/backbone/test/router.js
vendored
@@ -107,7 +107,7 @@ $(document).ready(function() {
|
||||
},
|
||||
|
||||
optionalItem: function(arg){
|
||||
this.arg = arg !== void 0 ? arg : null;
|
||||
this.arg = arg != void 0 ? arg : null;
|
||||
},
|
||||
|
||||
splat : function(args) {
|
||||
@@ -207,7 +207,7 @@ $(document).ready(function() {
|
||||
test("routes (optional)", 2, function() {
|
||||
location.replace('http://example.com#optional');
|
||||
Backbone.history.checkUrl();
|
||||
equal(router.arg, null);
|
||||
ok(!router.arg);
|
||||
location.replace('http://example.com#optional/thing');
|
||||
Backbone.history.checkUrl();
|
||||
equal(router.arg, 'thing');
|
||||
|
||||
Reference in New Issue
Block a user