mirror of
https://github.com/wassname/GarageServer.IO.git
synced 2026-07-16 01:10:07 +08:00
Code cleanup
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
var Entity = require('../entities/entity');
|
||||
var entity = require('../entities/entity');
|
||||
|
||||
exports = module.exports = EntityController;
|
||||
|
||||
@@ -19,7 +19,7 @@ EntityController.prototype = {
|
||||
});
|
||||
|
||||
if (!entityFound) {
|
||||
newEntity = new Entity(id);
|
||||
newEntity = new entity(id);
|
||||
this.entities.push(newEntity);
|
||||
}
|
||||
return newEntity;
|
||||
|
||||
Reference in New Issue
Block a user