initial commit of poker game
This commit is contained in:
8
game-server/app/components/tableComponent.js
Normal file
8
game-server/app/components/tableComponent.js
Normal file
@@ -0,0 +1,8 @@
|
||||
var TableService = require('../services/tableService');
|
||||
|
||||
module.exports = function(app, opts){
|
||||
var service = new TableService(app, opts);
|
||||
app.set('tableService', service, true);
|
||||
service.name = '__table__';
|
||||
return service;
|
||||
};
|
||||
Reference in New Issue
Block a user