Better optionality-checking

This commit is contained in:
Tony Garnock-Jones 2014-05-26 05:50:45 -04:00
parent ad0c151278
commit 9f26792e40
1 changed files with 1 additions and 1 deletions

View File

@ -631,7 +631,7 @@ function Routing(exports) {
// TODO: better name for this
function matchMatcher(o1, o2, seed) {
var acc = seed || {}; // will be modified in place
var acc = typeof seed === 'undefined' ? {} : seed; // will be modified in place
walk(o1, o2);
return acc;