Fix bundle model name casing

This commit is contained in:
Ritchie Martori 2013-11-11 13:35:54 -08:00
parent 1ef95a3f01
commit 77e842d2a3
4 changed files with 6 additions and 6 deletions

View File

@ -21,4 +21,4 @@ var properties = {
* Extends from the built in `loopback.Model` type.
*/
var Email = module.exports = Model.extend('email', properties);
var Email = module.exports = Model.extend('Email', properties);

View File

@ -9,7 +9,7 @@ var modeler = new ModelBuilder();
* Define the built in loopback.Model.
*/
var Model = module.exports = modeler.define('model');
var Model = module.exports = modeler.define('Model');
Model.shared = true;

View File

@ -20,7 +20,7 @@ var properties = {
* Extends from the built in `loopback.Model` type.
*/
var Session = module.exports = Model.extend('session', properties);
var Session = module.exports = Model.extend('Session', properties);
/**
* Create a cryptographically random session id.

View File

@ -45,7 +45,7 @@ var properties = {
* Extends from the built in `loopback.Model` type.
*/
var User = module.exports = Model.extend('user', properties);
var User = module.exports = Model.extend('User', properties);
/**
* Login a user by with the given `credentials`.