Merge pull request #330 from strongloop/feature/fix-forgotten-loopback-reference-in-app

lib/application: Remove forgotten `loopback` ref
This commit is contained in:
Miroslav Bajtoš 2014-06-16 10:17:39 +02:00
commit 7dc2521c07
1 changed files with 1 additions and 1 deletions

View File

@ -141,7 +141,7 @@ app.model = function (Model, config) {
configureModel(Model, config, this); configureModel(Model, config, this);
isPublic = config.public !== false; isPublic = config.public !== false;
} else { } else {
assert(Model.prototype instanceof loopback.Model, assert(Model.prototype instanceof registry.Model,
'Model must be a descendant of loopback.Model'); 'Model must be a descendant of loopback.Model');
} }