diff --git a/src/core/Common.js b/src/core/Common.js index 03575f5..08f2ecf 100644 --- a/src/core/Common.js +++ b/src/core/Common.js @@ -35,7 +35,7 @@ var Common = {}; if (source) { for (var prop in source) { - if (deepClone && source[prop].constructor === Object) { + if (deepClone && source[prop] && source[prop].constructor === Object) { if (!obj[prop] || obj[prop].constructor === Object) { obj[prop] = obj[prop] || {}; Common.extend(obj[prop], deepClone, source[prop]);