Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

When mixing and enhancing objects don't attempt to assign keys to nul…

…l values. Should probably add more checks for undefined, etc.`
  • Loading branch information...
commit f113147d326cc8e50f5e01b73f47fecf27d4babd 1 parent c292904
@larzconwell larzconwell authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/core.js
View
3  lib/core.js
@@ -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];
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.