mirror of
https://github.com/logsol/chuck.js.git
synced 2026-05-11 10:37:34 +00:00
cleaned up the mess ... :)
This commit is contained in:
parent
ec1bceb1b6
commit
dd154aa576
6 changed files with 34 additions and 23 deletions
10
channel.js
10
channel.js
|
|
@ -1,17 +1,19 @@
|
|||
var requirejs = require('requirejs');
|
||||
|
||||
requirejs.config({
|
||||
nodeRequire: require,
|
||||
baseUrl: 'app'
|
||||
});
|
||||
|
||||
var inspector = {};
|
||||
|
||||
requirejs([
|
||||
"Game/Server/LobbyPipe"
|
||||
"Game/Server/PipeToLobby",
|
||||
"Game/Core/NotificationCenter"
|
||||
],
|
||||
|
||||
function (LobbyPipe) {
|
||||
var lobbyPipe = new LobbyPipe(process);
|
||||
function (PipeToLobby, nc) {
|
||||
var PipeToLobby = new PipeToLobby(process);
|
||||
|
||||
inspector.lobbyPipe = lobbyPipe;
|
||||
inspector.PipeToLobby = PipeToLobby;
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue