Set default value

This commit is contained in:
Raymond Feng 2013-08-28 21:53:55 -07:00
parent c2eb1f55f0
commit f71dc8fe39
1 changed files with 1 additions and 0 deletions

View File

@ -132,6 +132,7 @@ function defineScope(cls, targetClass, name, params, methods) {
}
function mergeParams(base, update) {
base = base || {};
if (update.where) {
base.where = merge(base.where, update.where);
}