flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [2/3] git commit: [flex-asjs] [refs/heads/core_js_to_as] - clean up Graphics JS code
Date Fri, 11 Dec 2015 23:37:54 GMT
clean up Graphics JS code


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

Branch: refs/heads/core_js_to_as
Commit: 0c9e438deea2df9d940fe7e35df11ca2ade94f8b
Parents: 9a4afd6
Author: Alex Harui <aharui@apache.org>
Authored: Fri Dec 11 15:37:20 2015 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Fri Dec 11 15:37:20 2015 -0800

----------------------------------------------------------------------
 .../Graphics/as/src/org/apache/flex/core/graphics/SolidColor.as    | 2 +-
 .../projects/Graphics/as/src/org/apache/flex/core/graphics/Text.as | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0c9e438d/frameworks/projects/Graphics/as/src/org/apache/flex/core/graphics/SolidColor.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/as/src/org/apache/flex/core/graphics/SolidColor.as
b/frameworks/projects/Graphics/as/src/org/apache/flex/core/graphics/SolidColor.as
index 700c3bc..73e99b0 100644
--- a/frameworks/projects/Graphics/as/src/org/apache/flex/core/graphics/SolidColor.as
+++ b/frameworks/projects/Graphics/as/src/org/apache/flex/core/graphics/SolidColor.as
@@ -102,7 +102,7 @@ package org.apache.flex.core.graphics
         COMPILE::JS
         public function addFillAttrib(value:GraphicShape):String
         {
-            var color:String = Number(color).toString(16);
+            var color:String = Number(this.color).toString(16);
             if (color.length == 1) color = '00' + color;
             if (color.length == 2) color = '00' + color;
             if (color.length == 4) color = '00' + color;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0c9e438d/frameworks/projects/Graphics/as/src/org/apache/flex/core/graphics/Text.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/as/src/org/apache/flex/core/graphics/Text.as b/frameworks/projects/Graphics/as/src/org/apache/flex/core/graphics/Text.as
index 1773c1e..24dd840 100644
--- a/frameworks/projects/Graphics/as/src/org/apache/flex/core/graphics/Text.as
+++ b/frameworks/projects/Graphics/as/src/org/apache/flex/core/graphics/Text.as
@@ -36,6 +36,8 @@ package org.apache.flex.core.graphics
 	 *  @playerversion Flash 10.2
 	 *  @playerversion AIR 2.6
 	 *  @productversion FlexJS 0.0
+     *  // TODO (aharui) ignore imports of external linkage interfaces?
+     *  @flexjsignoreimport SVGLocatable
 	 */
 	public class Text extends GraphicShape
 	{


Mime
View raw message