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 2016/09/08 09:12:25 UTC
git commit: [flex-asjs] [refs/heads/refactor-sprite] - Fixed XMLList
replace
Repository: flex-asjs
Updated Branches:
refs/heads/refactor-sprite 842d677ff -> 9eaf1d4b3
Fixed XMLList replace
Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/9eaf1d4b
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/9eaf1d4b
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/9eaf1d4b
Branch: refs/heads/refactor-sprite
Commit: 9eaf1d4b329e25c9c3a5299f1a4fb04e4034befa
Parents: 842d677
Author: Harbs <ha...@in-tools.com>
Authored: Thu Sep 8 12:12:16 2016 +0300
Committer: Harbs <ha...@in-tools.com>
Committed: Thu Sep 8 12:12:16 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/9eaf1d4b/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 555fe82..11e727f 100644
--- a/frameworks/projects/XML/src/main/flex/XMLList.as
+++ b/frameworks/projects/XML/src/main/flex/XMLList.as
@@ -754,7 +754,7 @@ package
public function replace(propertyName:Object, value:*):*
{
if(isSingle())
- _xmlArray[0].replace(propertyName,value);
+ return _xmlArray[0].replace(propertyName,value);
}
public function setChild(elementName:*, elements:Object):void
{