Skip to content

Commit

Permalink
found what I did to mess up module parent setting issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
asstrochris committed May 18, 2010
1 parent 9604969 commit 4913e83
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/org/swizframework/core/Swiz.as
Expand Up @@ -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;
Expand Down Expand Up @@ -310,9 +313,6 @@ package org.swizframework.core
beanFactory.setUpBeans();

logger.info( "Swiz initialized" );

// dispatch a swiz created event before fully initializing
dispatchSwizCreatedEvent();
}

/**
Expand Down

0 comments on commit 4913e83

Please sign in to comment.