You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ha...@apache.org on 2017/06/04 18:39:39 UTC

[2/2] git commit: [flex-asjs] [refs/heads/release0.8.0] - Fixed error on minification

Fixed error on minification


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

Branch: refs/heads/release0.8.0
Commit: 58c2bbe665921febbf7c962fbbd48baeb0237fdc
Parents: cc63273
Author: Harbs <ha...@in-tools.com>
Authored: Sun Jun 4 21:38:37 2017 +0300
Committer: Harbs <ha...@in-tools.com>
Committed: Sun Jun 4 21:39:10 2017 +0300

----------------------------------------------------------------------
 .../Graphics/src/main/flex/org/apache/flex/svg/ClipBead.as         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/58c2bbe6/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/ClipBead.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/ClipBead.as b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/ClipBead.as
index fb6d5fd..9c04162 100644
--- a/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/ClipBead.as
+++ b/frameworks/projects/Graphics/src/main/flex/org/apache/flex/svg/ClipBead.as
@@ -141,7 +141,7 @@ package org.apache.flex.svg
 			var pathNode:Element = createChildNode(clipPath, "path") as Element;
 			pathNode.setAttribute("d", path.getPathString());
 			// set style 
-			(host.element as Object).style.clipPath = "url(#" + clipPath.id + ")";
+			host.element.style["clipPath"] = "url(#" + clipPath.id + ")";
 		}
 		
 		COMPILE::JS