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/05/04 18:14:34 UTC
[48/50] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Fixed
XMLList replaceChildAt
Fixed XMLList replaceChildAt
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/64a18fb3
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/64a18fb3
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/64a18fb3
Branch: refs/heads/spark
Commit: 64a18fb38c37fb4bd06337070a39b74d57dc00a7
Parents: 9438023
Author: Harbs <ha...@in-tools.com>
Authored: Wed May 4 20:20:54 2016 +0300
Committer: Harbs <ha...@in-tools.com>
Committed: Wed May 4 20:20:54 2016 +0300
----------------------------------------------------------------------
frameworks/projects/XML/src/main/flex/XMLList.as | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/64a18fb3/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 0dac7af..ba3c5e4 100644
--- a/frameworks/projects/XML/src/main/flex/XMLList.as
+++ b/frameworks/projects/XML/src/main/flex/XMLList.as
@@ -599,7 +599,7 @@ package
}
if(child is XML)
{
- _xmlArray.splice(idx+i,0,child);
+ _xmlArray[idx] = child;
}
else if(child is XMLList)
{