swapped client files

This commit is contained in:
logsol 2012-07-22 12:22:38 +02:00
parent d73d6b73e1
commit 005fb57c31
2 changed files with 24 additions and 24 deletions

View file

@ -1,11 +1,15 @@
requirejs.config({
baseUrl: 'app'
});
var inspector = {};
requirejs(["Bootstrap/Client"], function(Client) {
var client = new Client(location.href);
inspector.client = client;
define([
"Game/Client/Networker",
"Lib/Vendor/SocketIO"
],
function(Networker, SocketIO) {
function Client(location) {
this.socket = SocketIO.connect(location);
this.networker = new Networker(socket);
}
return Client;
});