Should we remove Globals access from Connection?
authorAndy Allan <andy@gravitystorm.co.uk>
Tue, 24 May 2011 13:41:31 +0000 (14:41 +0100)
committerAndy Allan <andy@gravitystorm.co.uk>
Tue, 24 May 2011 13:41:31 +0000 (14:41 +0100)
net/systemeD/halcyon/connection/Connection.as

index ed8de47..3fafeae 100644 (file)
@@ -26,7 +26,7 @@ package net.systemeD.halcyon.connection {
 
         public function getParam(name:String, defaultValue:String):String {
                        if (params[name]) return params[name];
-                       if (Globals.vars.flashvars[name]) return Globals.vars.flashvars[name];
+                       if (Globals.vars.flashvars[name]) return Globals.vars.flashvars[name];  // REFACTOR - given the profusion of connections, should this be removed?
                        return defaultValue;
         }