diff --git a/lib/cradle.js b/lib/cradle.js index e85c383..a710778 100644 --- a/lib/cradle.js +++ b/lib/cradle.js @@ -313,7 +313,7 @@ cradle.merge = function (target) { var objs = Array.prototype.slice.call(arguments, 1); objs.forEach(function (o) { Object.keys(o).forEach(function (attr) { - if (! o.__lookupGetter__(attr)) { + if (o.__lookupGetter__ && ! o.__lookupGetter__(attr)) { target[attr] = o[attr]; } });