Remove unnecessary console.log

Signed-off-by: Clark Wang <clark.wangs@gmail.com>
This commit is contained in:
Clark Wang 2014-09-02 12:55:52 +08:00
parent f9a26bcb28
commit 0cbc15c631
1 changed files with 0 additions and 1 deletions

View File

@ -489,7 +489,6 @@ function lookupModelTo(modelFrom, modelTo, params, singularize) {
} }
if (typeof modelTo === 'string') { if (typeof modelTo === 'string') {
modelToName = (singularize ? i8n.singularize(params.as) : params.as).toLowerCase(); modelToName = (singularize ? i8n.singularize(params.as) : params.as).toLowerCase();
console.log(modelToName)
modelTo = lookupModel(modelFrom.dataSource.modelBuilder.models, modelToName) || modelTo; modelTo = lookupModel(modelFrom.dataSource.modelBuilder.models, modelToName) || modelTo;
} }
if (typeof modelTo !== 'function') { if (typeof modelTo !== 'function') {