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 7f29cec  Update TextEvent.as
7f29cec is described below

commit 7f29cecd30f13e97312a725bb227f6ecc9a4e9d0
Author: alinakazi <alinakazi1...@gmail.com>
AuthorDate: Fri Jul 20 16:45:00 2018 +0500

    Update TextEvent.as
---
 .../projects/MXRoyale/src/main/royale/mx/events/TextEvent.as      | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/events/TextEvent.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/events/TextEvent.as
index ffe228e..87f837b 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/events/TextEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/events/TextEvent.as
@@ -57,7 +57,13 @@ public class TextEvent extends flash.events.TextEvent
 COMPILE::JS
 public class TextEvent extends org.apache.royale.events.Event
 {
-    public static const TEXT_INPUT : String = "textInput"
+   private static function platformConstant(s:String):String
+        {
+            return s;
+        }
+               
+    public static const TEXT_INPUT : String = platformConstant("textInput"); 
+               
                
        
//--------------------------------------------------------------------------
        //

Reply via email to