From e70366398fb58d1f16c47810a84c7e538dd97412 Mon Sep 17 00:00:00 2001 From: logsol Date: Sun, 22 Jul 2012 00:14:38 +0200 Subject: [PATCH] altered define paths --- app/Lobby/Coordinator.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) mode change 100644 => 100755 app/Lobby/Coordinator.js diff --git a/app/Lobby/Coordinator.js b/app/Lobby/Coordinator.js old mode 100644 new mode 100755 index 3a71f80..ab0ff8b --- a/app/Lobby/Coordinator.js +++ b/app/Lobby/Coordinator.js @@ -1,4 +1,9 @@ -define(["Server/User", "Server/Channel", "Server/Factory"], function(User, Channel, Factory) { +define([ + "Game/Server/User", + "Game/Server/Channel" +], + +function(User, Channel) { function Coordinator() { this.channels = {}; @@ -30,8 +35,7 @@ define(["Server/User", "Server/Channel", "Server/Factory"], function(User, Chann var channel = this.channels[channelName]; if(!channel) { - var factory = new Factory(); - channel = factory.new(Channel, channelName); + channel = new Channel(channelName); this.channels[channelName] = channel; }