Skip to content

Commit

Permalink
Tiny simplification of a lazy instantiation.
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Penner committed Oct 14, 2010
1 parent 3699718 commit 2764b4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/robotlegs/base/SignalCommandMap.as
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ package org.robotlegs.base
verifyCommandClass( commandClass );
if ( hasSignalCommand( signal, commandClass ) )
return;
var signalCommandMap:Dictionary = signalMap[signal] = signalMap[signal] || new Dictionary( false );
var signalCommandMap:Dictionary = signalMap[signal] ||= new Dictionary( false );
var callback:Function = function(a:* = null, b:* = null, c:* = null, d:* = null, e:* = null, f:* = null, g:* = null):void
{
routeSignalToCommand( signal, arguments, commandClass, oneShot );
Expand Down

0 comments on commit 2764b4b

Please sign in to comment.