Merge pull request #278 from clarkorz/fix/remove-consolelog

Remove unnecessary console.log
This commit is contained in:
Raymond Feng 2014-09-01 22:18:04 -07:00
commit d7598b18f4
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') {