You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ah...@apache.org on 2018/10/26 06:11:45 UTC
[royale-asjs] branch develop updated: make parameters writable in JS
This is an automated email from the ASF dual-hosted git repository.
aharui 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 2df45ed make parameters writable in JS
2df45ed is described below
commit 2df45ed099e71aa43dffb4b1613a1a82ea48d300
Author: Alex Harui <ah...@apache.org>
AuthorDate: Thu Oct 25 23:11:34 2018 -0700
make parameters writable in JS
---
.../projects/MXRoyale/src/main/royale/mx/core/Application.as | 9 +++++++++
1 file changed, 9 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 a1fae52..a065e62 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/Application.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/Application.as
@@ -420,6 +420,15 @@ public class Application extends Container implements IStrand, IParent, IEventDi
}
}
+ public function set parameters(value:Object):void
+ {
+ // do nothing in SWF. It is determined by loaderInfo.
+ COMPILE::JS
+ {
+ _parameters = value;
+ }
+ }
+
/**
* This method gets called when all preinitialize handlers
* no longer call preventDefault();