You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pu...@apache.org on 2018/11/22 07:29:04 UTC

[royale-asjs] branch develop updated: Update TextEvent.as

This is an automated email from the ASF dual-hosted git repository.

pushminakazi 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 718124d  Update TextEvent.as
718124d is described below

commit 718124d7ba4b5c03670243031383ca6ab573d565
Author: pashminakazi <42...@users.noreply.github.com>
AuthorDate: Thu Nov 22 12:29:00 2018 +0500

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

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 87f837b..c7a3de1 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/events/TextEvent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/events/TextEvent.as
@@ -39,6 +39,13 @@ import org.apache.royale.events.IRoyaleEvent;
 COMPILE::SWF
 public class TextEvent extends flash.events.TextEvent
 {
+	private static function platformConstant(s:String):String
+        {
+            return s;
+        }
+		
+    public static const TEXT_INPUT : String = platformConstant("textInput"); 
+		
 	public function TextEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, text:String = "")
     {
         super(type, bubbles, cancelable,text);