Skip to content

Commit

Permalink
Removes reflector from ExtensionInstaller
Browse files Browse the repository at this point in the history
  • Loading branch information
darscan committed May 26, 2014
1 parent 613f761 commit 5f4127d
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/robotlegs/bender/framework/impl/ExtensionInstaller.as
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
package robotlegs.bender.framework.impl
{
import flash.utils.Dictionary;
import org.swiftsuspenders.reflection.DescribeTypeReflector;
import org.swiftsuspenders.reflection.Reflector;
import robotlegs.bender.framework.api.IContext;
import robotlegs.bender.framework.api.ILogger;

Expand All @@ -27,8 +25,6 @@ package robotlegs.bender.framework.impl

private const _classes:Dictionary = new Dictionary(true);

private const _reflector:Reflector = new DescribeTypeReflector();

private var _context:IContext;

private var _logger:ILogger;
Expand Down Expand Up @@ -62,7 +58,7 @@ package robotlegs.bender.framework.impl
}
else
{
const extensionClass:Class = _reflector.getClass(extension);
const extensionClass:Class = extension.constructor as Class;
if (_classes[extensionClass])
return;
_logger.debug("Installing extension {0}", [extension]);
Expand Down

0 comments on commit 5f4127d

Please sign in to comment.