lib/application: Remove forgotten `loopback` ref

Use `registry.Model` instead of `loopback.Model`.
This commit is contained in:
Miroslav Bajtoš 2014-06-16 09:52:11 +02:00
parent 8826b6396a
commit 843e09342c
1 changed files with 1 additions and 1 deletions

View File

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