You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2018/11/13 13:35:40 UTC

[royale-asjs] branch develop updated: Assign topLevelApplication

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

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


The following commit(s) were added to refs/heads/develop by this push:
     new 74f3d81  Assign topLevelApplication
74f3d81 is described below

commit 74f3d815061e067b65bc490e0637416f08125293
Author: Harbs <ha...@in-tools.com>
AuthorDate: Tue Nov 13 15:35:29 2018 +0200

    Assign topLevelApplication
---
 .../SparkRoyale/src/main/royale/spark/components/Application.as   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

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 7b46169..e070d6c 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/Application.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/Application.as
@@ -40,7 +40,6 @@ import flash.utils.Dictionary;
 import flash.utils.setInterval; */
 /* 
 import mx.core.EventPriority;
-import mx.core.FlexGlobals;
 import mx.core.IInvalidating;
 import mx.core.InteractionMode;
 import mx.core.Singleton;
@@ -63,6 +62,7 @@ COMPILE::SWF {
 }
 
 import mx.core.mx_internal;
+import mx.core.FlexGlobals;
 import mx.managers.ISystemManager;
 
 import org.apache.royale.binding.ApplicationDataBinding;
@@ -76,8 +76,8 @@ import org.apache.royale.core.IStatesImpl;
 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.events.IEventDispatcher;
+
 use namespace mx_internal; 
 
 //--------------------------------------
@@ -303,9 +303,9 @@ public class Application extends SkinnableContainer implements IStrand, IParent,
             Singleton.getInstance("mx.managers::ILayoutManager"));
         UIComponentGlobals.layoutManager.usePhasedInstantiation = true;
 
+		*/
         if (!FlexGlobals.topLevelApplication)
             FlexGlobals.topLevelApplication = this;
-		*/
         super();
 
         /* showInAutomationHierarchy = true;