You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by pi...@apache.org on 2019/12/10 20:34:00 UTC

[royale-asjs] branch develop updated: Spark TextInput: Partially revert commit from Pashmina to fix build

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

piotrz 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 6d7f094  Spark TextInput: Partially revert commit from Pashmina to fix build
6d7f094 is described below

commit 6d7f0948cf02dc0a9c6c717b2d93347d9ccc6d45
Author: Piotr Zarzycki <pi...@gmail.com>
AuthorDate: Tue Dec 10 21:33:45 2019 +0100

    Spark TextInput: Partially revert commit from Pashmina to fix build
    
    Commit: 53fd341610d9f19d75f4950885894ad880eb7ae8
---
 .../src/main/royale/spark/components/TextInput.as       | 17 +----------------
 1 file changed, 1 insertion(+), 16 deletions(-)

diff --git a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/TextInput.as b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/TextInput.as
index db97881..e2adaaf 100644
--- a/frameworks/projects/SparkRoyale/src/main/royale/spark/components/TextInput.as
+++ b/frameworks/projects/SparkRoyale/src/main/royale/spark/components/TextInput.as
@@ -288,22 +288,7 @@ public class TextInput extends SkinnableTextBase
     //[Bindable("textChanged")]
     
     // Compiler will strip leading and trailing whitespace from text string.
-    [CollapseWhiteSpace]
-       
-    /**
-     *  @private
-     */
-    override public function get text():String
-    {
-		COMPILE::SWF
-		{
-			return ITextModel(model).text;
-		}
-		COMPILE::JS
-		{
-			return (element as HTMLInputElement).value;
-		}
-    }
+
     override public function set text(value:String):void
     {
         // BEGIN - this code shouldn't exist once SkinnableTextBase is fixed