flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject git commit: [flex-utilities] [refs/heads/develop] - Helps if OR actually does an || rather than an &&
Date Tue, 08 Jul 2014 04:21:36 GMT
Repository: flex-utilities
Updated Branches:
  refs/heads/develop 964353857 -> fd3cf521a


Helps if OR actually does an || rather than an &&


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

Branch: refs/heads/develop
Commit: fd3cf521a8e212ce396ad0a2f5fcf3fa133d66aa
Parents: 9643538
Author: Justin Mclean <jmclean@apache.org>
Authored: Tue Jul 8 14:21:20 2014 +1000
Committer: Justin Mclean <jmclean@apache.org>
Committed: Tue Jul 8 14:21:20 2014 +1000

----------------------------------------------------------------------
 ant_on_air/src/org/apache/flex/ant/tags/Or.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-utilities/blob/fd3cf521/ant_on_air/src/org/apache/flex/ant/tags/Or.as
----------------------------------------------------------------------
diff --git a/ant_on_air/src/org/apache/flex/ant/tags/Or.as b/ant_on_air/src/org/apache/flex/ant/tags/Or.as
index 7c4371c..35e8890 100644
--- a/ant_on_air/src/org/apache/flex/ant/tags/Or.as
+++ b/ant_on_air/src/org/apache/flex/ant/tags/Or.as
@@ -52,7 +52,7 @@ package org.apache.flex.ant.tags
 	                // get the value from the children
 	                var val:Object = IValueTagHandler(value).getValue(context);
 					
-					result = result && (val == "true" || val == true);
+					result = result || (val == "true" || val == true);
 					
 					if (result)
 						return true;


Mime
View raw message