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/26 23:05:08 UTC

[24/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Fixed XMLList plus()

Fixed XMLList plus()


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

Branch: refs/heads/spark
Commit: 7b3c0cb408d30ea5aaa003245c38fd98936e70cc
Parents: b9c15bb
Author: Harbs <ha...@in-tools.com>
Authored: Mon May 16 10:53:01 2016 +0300
Committer: Alex Harui <ah...@apache.org>
Committed: Thu May 26 16:04:21 2016 -0700

----------------------------------------------------------------------
 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/7b3c0cb4/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 7518b95..18e4917 100644
--- a/frameworks/projects/XML/src/main/flex/XMLList.as
+++ b/frameworks/projects/XML/src/main/flex/XMLList.as
@@ -579,7 +579,7 @@ package
 			}
 			if(rightHand is String)
 				return this.toString() + rightHand;
-			if(rightHand === NaN)
+			if(rightHand is Number && isNaN(rightHand))
 				return NaN;
 			if(isNaN(Number( this.toString() )) || isNaN(Number( rightHand.toString() )))
 				return this.toString() + rightHand.toString();