flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [24/51] [abbrv] git commit: [flex-asjs] [refs/heads/spark] - Fixed XMLList plus()
Date Thu, 26 May 2016 23:05:08 GMT
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 <harbs@in-tools.com>
Authored: Mon May 16 10:53:01 2016 +0300
Committer: Alex Harui <aharui@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();


Mime
View raw message