Fix the jsdoc for loopback.getModel()
This commit is contained in:
parent
c70ba01f6b
commit
32bdce53ee
|
@ -187,8 +187,9 @@ loopback.memory = function (name) {
|
|||
}
|
||||
|
||||
/**
|
||||
* Loop up a model class by name
|
||||
* Look up a model class by name from all models created by loopback.createModel()
|
||||
* @param {String} modelName The model name
|
||||
* @return {Model} The model class
|
||||
*/
|
||||
loopback.getModel = function(modelName) {
|
||||
return loopback.Model.modelBuilder.models[modelName];
|
||||
|
|
Loading…
Reference in New Issue