You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by al...@apache.org on 2018/09/06 08:46:32 UTC
[royale-asjs] branch feature/MXRoyale updated: Revert
ApplicationDomain.as
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 <AL...@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;
+ }
}