mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
refactored Server and Lobby
This commit is contained in:
parent
42475c9b38
commit
d83376d5c7
26 changed files with 29 additions and 29 deletions
10
channel.js
10
channel.js
|
|
@ -1,4 +1,4 @@
|
|||
GLOBALS = { context: "Server" };
|
||||
GLOBALS = { context: "Channel" };
|
||||
var requirejs = require('requirejs');
|
||||
|
||||
requirejs.config({
|
||||
|
|
@ -10,11 +10,11 @@ requirejs.config({
|
|||
var inspector = {};
|
||||
|
||||
requirejs([
|
||||
"Game/Server/PipeToLobby"
|
||||
"Game/Channel/PipeToServer"
|
||||
],
|
||||
|
||||
function (PipeToLobby) {
|
||||
var PipeToLobby = new PipeToLobby(process);
|
||||
function (PipeToServer) {
|
||||
var PipeToServer = new PipeToServer(process);
|
||||
|
||||
inspector.PipeToLobby = PipeToLobby;
|
||||
inspector.PipeToServer = PipeToServer;
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue