diff --git a/lib/utils.js b/lib/utils.js index ae7bde0..b9d64de 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -1,7 +1,7 @@ function unifyProperties(source, dest) { for (var p in source) { - eval("dest."+p+"=source."+p) + dest[p] = source[p]; } } @@ -12,4 +12,4 @@ function getTypeName(obj) { } exports.unifyProperties = unifyProperties -exports.getTypeName = getTypeName \ No newline at end of file +exports.getTypeName = getTypeName