This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch webservice
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 672967ee5b93741712813d68665c2233ac60a305
Author: Alex Harui <[email protected]>
AuthorDate: Thu Oct 3 14:14:30 2019 -0700

    Emulation should use ClassAliasBead
---
 frameworks/projects/MXRoyale/src/main/royale/mx/core/Application.as     | 2 ++
 .../SparkRoyale/src/main/royale/spark/components/Application.as         | 2 ++
 2 files changed, 4 insertions(+)

diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/core/Application.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/core/Application.as
index c42e72b..6527c71 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/Application.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/Application.as
@@ -88,6 +88,7 @@ import org.apache.royale.core.ValuesManager;
 import org.apache.royale.events.Event;
 import org.apache.royale.events.IEventDispatcher;
 import org.apache.royale.events.ValueChangeEvent;
+import org.apache.royale.reflection.beads.ClassAliasBead;
 import org.apache.royale.states.State;
 import org.apache.royale.utils.MXMLDataInterpreter;
 import org.apache.royale.utils.MixinManager;
@@ -314,6 +315,7 @@ public class Application extends Container implements 
IStrand, IParent, IEventDi
                this.valuesImpl = new AllCSSValuesImpl();
                addBead(new ContainerDataBinding()); // ApplicationDataBinding 
fires too soon
                addBead(new ApplicationLayout());
+        addBead(new ClassAliasBead());
 
         instanceParent = this;
         
diff --git 
a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/Application.as
 
b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/Application.as
index f52989c..a840ea3 100644
--- 
a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/Application.as
+++ 
b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/Application.as
@@ -82,6 +82,7 @@ import org.apache.royale.core.IStrand;
 import org.apache.royale.core.IValuesImpl;
 import org.apache.royale.core.ValuesManager;
 import org.apache.royale.events.IEventDispatcher;
+import org.apache.royale.reflection.beads.ClassAliasBead;
 
 use namespace mx_internal; 
 
@@ -319,6 +320,7 @@ public class Application extends SkinnableContainer 
implements IStrand, IParent,
         
         this.valuesImpl = new AllCSSValuesImpl();
         addBead(new ContainerDataBinding());
+        addBead(new ClassAliasBead());
         
         COMPILE::JS
         {

Reply via email to