You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2015/12/17 08:54:37 UTC

[27/55] [abbrv] git commit: [flex-asjs] [refs/heads/develop] - clean up Graphics JS code

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/develop
Commit: 0c9e438deea2df9d940fe7e35df11ca2ade94f8b
Parents: 9a4afd6
Author: Alex Harui <ah...@apache.org>
Authored: Fri Dec 11 15:37:20 2015 -0800
Committer: Alex Harui <ah...@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
 	{