flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmcl...@apache.org
Subject [2/2] git commit: [flex-sdk] [refs/heads/develop] - Remove compiler warning
Date Fri, 27 Dec 2013 00:21:45 GMT
Remove compiler warning


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

Branch: refs/heads/develop
Commit: 56d67ccf3e4436437875cf3562ce508142804e36
Parents: ae081d0
Author: Justin Mclean <jmclean@apache.org>
Authored: Fri Dec 27 11:20:55 2013 +1100
Committer: Justin Mclean <jmclean@apache.org>
Committed: Fri Dec 27 11:20:55 2013 +1100

----------------------------------------------------------------------
 frameworks/projects/framework/src/mx/binding/Binding.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/56d67ccf/frameworks/projects/framework/src/mx/binding/Binding.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/binding/Binding.as b/frameworks/projects/framework/src/mx/binding/Binding.as
index a03ba16..b2e0598 100644
--- a/frameworks/projects/framework/src/mx/binding/Binding.as
+++ b/frameworks/projects/framework/src/mx/binding/Binding.as
@@ -292,7 +292,7 @@ public class Binding
         {
             element = element[chain[i++]];
             //if the element does not exist : avoid exception as it's heavy on memory allocations
-            if(element == null || element == undefined) {
+            if (element == null) {
                 destFuncFailed = true;
                 if (BindingManager.debugDestinationStrings[destString])
                 {


Mime
View raw message