You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by yi...@apache.org on 2016/08/24 07:58:19 UTC
git commit: [flex-asjs] [refs/heads/refactor-sprite] - More missing
XML methods.
Repository: flex-asjs
Updated Branches:
refs/heads/refactor-sprite de0d9efe4 -> 20813be62
More missing XML methods.
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/20813be6
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/20813be6
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/20813be6
Branch: refs/heads/refactor-sprite
Commit: 20813be62c727bfa3530d094a825f9f8fd59d145
Parents: de0d9ef
Author: yishayw <yi...@hotmail.com>
Authored: Wed Aug 24 10:58:07 2016 +0300
Committer: yishayw <yi...@hotmail.com>
Committed: Wed Aug 24 10:58:07 2016 +0300
----------------------------------------------------------------------
frameworks/projects/XML/src/main/flex/XMLList.as | 7 +++++++
1 file changed, 7 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/20813be6/frameworks/projects/XML/src/main/flex/XMLList.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/XML/src/main/flex/XMLList.as b/frameworks/projects/XML/src/main/flex/XMLList.as
index 2855905..7eaf50c 100644
--- a/frameworks/projects/XML/src/main/flex/XMLList.as
+++ b/frameworks/projects/XML/src/main/flex/XMLList.as
@@ -756,6 +756,13 @@ package
}
+ public function setParent(parent:XML):void
+ {
+ if(isSingle())
+ _xmlArray[0].setParent(parent);
+
+ }
+
public function setChildren(value:Object):XML
{
if(isSingle())