You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@royale.apache.org by Alex Harui <ah...@adobe.com.INVALID> on 2018/08/15 16:08:15 UTC
Re: [royale-asjs] branch feature/MXRoyale updated: stage property
added in case of js
Hi Alina,
How often is "stage" referenced in your code? I'm tempted to not have a "stage" property in the emulation as I think UIBase.topLevelEventDispatcher is more platform independent.
-Alex
On 8/15/18, 4:18 AM, "alinakazi@apache.org" <al...@apache.org> wrote:
This is an automated email from the ASF dual-hosted git repository.
alinakazi pushed a commit to branch feature/MXRoyale
in repository https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgitbox.apache.org%2Frepos%2Fasf%2Froyale-asjs.git&data=02%7C01%7Caharui%40adobe.com%7C4d44cdaefe484e5609a208d602a0d438%7Cfa7b1b5a7b34438794aed2c178decee1%7C0%7C0%7C636699287117944979&sdata=C4RzAKGM8EyJdmJ1GJt%2F1sr60%2FJond4U65hmDl4EU70%3D&reserved=0
The following commit(s) were added to refs/heads/feature/MXRoyale by this push:
new 8d7c1b8 stage property added in case of js
8d7c1b8 is described below
commit 8d7c1b8f6b564b359b42b5d2de9628bb160ca78b
Author: alinakazi <AL...@GMAIL.COM>
AuthorDate: Wed Aug 15 16:18:26 2018 +0500
stage property added in case of js
---
.../projects/MXRoyale/src/main/royale/mx/core/UIComponent.as | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
index 76d07e1..f15f481 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
@@ -1393,7 +1393,17 @@ public class UIComponent extends UIBase
trace("systemManager not implemented");
_systemManager = value;
}
-
+
+COMPILE::JS
+{
+ public function get stage():Object
+ {
+ // TODO
+ if (GOOG::DEBUG)
+ trace("stage not implemented");
+ return null;
+ }
+}
//--------------------------------------------------------------------------
//
// Properties: Modules