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 <[email protected]>
Authored: Sun Jun 4 21:38:37 2017 +0300
Committer: Harbs <[email protected]>
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

Reply via email to