flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [1/2] git commit: [flex-asjs] [refs/heads/core_js_to_as] - fix ImageAndTextButton
Date Tue, 01 Dec 2015 20:23:14 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/core_js_to_as eb92af671 -> 970554993


fix ImageAndTextButton


Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/a4a58ae1
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/a4a58ae1
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/a4a58ae1

Branch: refs/heads/core_js_to_as
Commit: a4a58ae1d8308bd96d364c96b7a2d4d5c8106ea8
Parents: eb92af6
Author: Alex Harui <aharui@apache.org>
Authored: Tue Dec 1 11:59:39 2015 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Dec 1 11:59:39 2015 -0800

----------------------------------------------------------------------
 .../HTML/as/src/org/apache/flex/html/ImageAndTextButton.as  | 9 +++++++++
 1 file changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/a4a58ae1/frameworks/projects/HTML/as/src/org/apache/flex/html/ImageAndTextButton.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/HTML/as/src/org/apache/flex/html/ImageAndTextButton.as b/frameworks/projects/HTML/as/src/org/apache/flex/html/ImageAndTextButton.as
index dd88427..8bdcc6a 100644
--- a/frameworks/projects/HTML/as/src/org/apache/flex/html/ImageAndTextButton.as
+++ b/frameworks/projects/HTML/as/src/org/apache/flex/html/ImageAndTextButton.as
@@ -53,6 +53,15 @@ package org.apache.flex.html
          *  @private
          */
         COMPILE::JS
+        override public function get text():String
+        {
+            return ImageAndTextModel(model).text;
+        }
+        
+        /**
+         *  @private
+         */
+        COMPILE::JS
         override public function set text(value:String):void
         {
             ImageAndTextModel(model).text = value;


Mime
View raw message