Skip to content

Commit

Permalink
When mixing and enhancing objects don't attempt to assign keys to nul…
Browse files Browse the repository at this point in the history
…l values. Should probably add more checks for undefined, etc.`
  • Loading branch information
larzconwell committed Oct 3, 2012
1 parent c292904 commit f113147
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/core.js
Expand Up @@ -37,6 +37,9 @@ var core = new (function () {
}
// If it's not a merge-copy, just set and forget
else {
if (targ === null) {
continue;
}
targ[p] = src[p];
}
}
Expand Down

0 comments on commit f113147

Please sign in to comment.