Permalink
Browse files

found what I did to mess up module parent setting issue.

  • Loading branch information...
asstrochris committed May 18, 2010
1 parent 9604969 commit 4913e832200b9cbfc48e2553d50398ab9c4e3479
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/org/swizframework/core/Swiz.as
@@ -276,6 +276,9 @@ package org.swizframework.core
beanFactory = new BeanFactory();
}
+ // dispatch a swiz created event before fully initializing
+ dispatchSwizCreatedEvent();
+
if( parentSwiz != null )
{
_beanFactory.parentBeanFactory = _parentSwiz.beanFactory;
@@ -310,9 +313,6 @@ package org.swizframework.core
beanFactory.setUpBeans();
logger.info( "Swiz initialized" );
-
- // dispatch a swiz created event before fully initializing
- dispatchSwizCreatedEvent();
}
/**

0 comments on commit 4913e83

Please sign in to comment.