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 2016/09/07 22:33:52 UTC

[17/50] git commit: [flex-asjs] [refs/heads/master] - Fixed some errors spotted by Jenkins, but not by the up2date ant script.

Fixed some errors spotted by Jenkins, but not by the up2date ant script.


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

Branch: refs/heads/master
Commit: 13323e6b6cb7e88237f843db385ab7da6f036250
Parents: 2124051
Author: yishayw <yi...@hotmail.com>
Authored: Mon Aug 1 10:37:11 2016 +0300
Committer: yishayw <yi...@hotmail.com>
Committed: Mon Aug 1 10:37:11 2016 +0300

----------------------------------------------------------------------
 .../src/main/flex/org/apache/flex/svg/GraphicContainer.as         | 2 +-
 .../Graphics/src/main/flex/org/apache/flex/svg/TransformBead.as   | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/13323e6b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/GraphicContainer.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/GraphicContainer.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/GraphicContainer.as
index 0967b85..48c51d1 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/GraphicContainer.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/GraphicContainer.as
@@ -181,10 +181,10 @@ import org.apache.flex.core.ContainerBase;
 
 class GraphicGroup extends ContainerBase
 {
-	COMPILE::JS
 	/**
 	 * @flexjsignorecoercion org.apache.flex.core.WrappedHTMLElement
 	 */
+	COMPILE::JS
 	override protected function createElement():org.apache.flex.core.WrappedHTMLElement
 	{
 		element = document.createElementNS('http://www.w3.org/2000/svg', 'g') as org.apache.flex.core.WrappedHTMLElement;

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/13323e6b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/TransformBead.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/TransformBead.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/TransformBead.as
index 8db37a0..e37f4df 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/TransformBead.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/TransformBead.as
@@ -81,7 +81,8 @@ package org.apache.flex.svg
 			(element.parentNode as HTMLElement).setAttribute("overflow", "visible");
 			var fjsm:org.apache.flex.geom.IMatrix = transformModel.matrix;
 			var matrixArray:Array = [fjsm.a , fjsm.b, fjsm.c, fjsm.d, fjsm.tx, fjsm.ty];
-			element.setAttribute("transform", "matrix(" +matrixArray.join(",") + ")";
+			var transformStr:String = "matrix(" + matrixArray.join(",") + ")";
+			element.setAttribute("transform", transformStr);
 		}
 		
 		private function changeHandler(e:Event):void