flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bigosma...@apache.org
Subject [3/3] git commit: [flex-asjs] [refs/heads/develop] - Added null check when searching value in "global"
Date Thu, 07 Nov 2013 19:36:30 GMT
Added null check when searching value in "global"


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

Branch: refs/heads/develop
Commit: 74c50e40a624027946505980b01b267189909516
Parents: 9fa2c6f
Author: Om <bigosmallm@gmail.com>
Authored: Thu Nov 7 11:15:00 2013 -0800
Committer: Om <bigosmallm@gmail.com>
Committed: Thu Nov 7 11:34:41 2013 -0800

----------------------------------------------------------------------
 frameworks/as/src/org/apache/flex/core/SimpleCSSValuesImpl.as | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/74c50e40/frameworks/as/src/org/apache/flex/core/SimpleCSSValuesImpl.as
----------------------------------------------------------------------
diff --git a/frameworks/as/src/org/apache/flex/core/SimpleCSSValuesImpl.as b/frameworks/as/src/org/apache/flex/core/SimpleCSSValuesImpl.as
index 8ab5a45..6f9ad06 100644
--- a/frameworks/as/src/org/apache/flex/core/SimpleCSSValuesImpl.as
+++ b/frameworks/as/src/org/apache/flex/core/SimpleCSSValuesImpl.as
@@ -241,7 +241,11 @@ package org.apache.flex.core
     				return value;
             }
 			o = values["*"];			
-			return o[valueName];
+			if(o)
+			{
+				return o[valueName];
+			}
+			return null;
 		}
 		
 		public function setValue(thisObject:Object, valueName:String, value:*):void


Mime
View raw message