royale-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alinak...@apache.org
Subject [royale-asjs] branch feature/MXRoyale updated: Revert ApplicationDomain.as
Date Thu, 06 Sep 2018 08:46:32 GMT
This is an automated email from the ASF dual-hosted git repository.

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


The following commit(s) were added to refs/heads/feature/MXRoyale by this push:
     new ec96194  Revert ApplicationDomain.as
ec96194 is described below

commit ec9619402096ee0faeb46f2705d1b6eca588de2f
Author: alinakazi <ALINAKAZI1990@GMAIL.COM>
AuthorDate: Thu Sep 6 13:46:30 2018 +0500

    Revert ApplicationDomain.as
---
 .../src/main/royale/mx/system/ApplicationDomain.as     | 18 ++++++++++++------
 1 file changed, 12 insertions(+), 6 deletions(-)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/system/ApplicationDomain.as b/frameworks/projects/MXRoyale/src/main/royale/mx/system/ApplicationDomain.as
index e5eb1f6..4c2fd1f 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/system/ApplicationDomain.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/system/ApplicationDomain.as
@@ -49,15 +49,21 @@ public class ApplicationDomain extends Object
      */
 	
 	
-    public function ApplicationDomain()
+  public function ApplicationDomain()
     {
         super();
     }
-
-	public static function get currentDomain():ApplicationDomain
-	{
-		return null;
-	}
+	private var _currentDomain:Object;
+	
+	public function get currentDomain():Object
+    {
+        return _currentDomain;
+    }
+    
+    public function set currentDomain(obj:Object):void
+    {
+	_currentDomain = obj;
+    } 
 	
    
 }


Mime
View raw message