flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [8/8] git commit: [flex-sdk] [refs/heads/develop] - forgot that Resources can be used outside of a Flex app
Date Tue, 05 Nov 2013 20:58:07 GMT
forgot that Resources can be used outside of a Flex app


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

Branch: refs/heads/develop
Commit: 27694bb4c4bf328ba0052c73f21a8766ad4d074c
Parents: ee75c35
Author: Alex Harui <aharui@apache.org>
Authored: Tue Nov 5 12:12:24 2013 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Nov 5 12:57:12 2013 -0800

----------------------------------------------------------------------
 .../projects/framework/src/mx/resources/ResourceManagerImpl.as   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-sdk/blob/27694bb4/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as b/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as
index 7cc8ab8..9c21ca8 100644
--- a/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as
+++ b/frameworks/projects/framework/src/mx/resources/ResourceManagerImpl.as
@@ -140,12 +140,12 @@ public class ResourceManagerImpl extends EventDispatcher implements
IResourceMan
 		// Falcon injects this property and it is always false
 		// We ignore missing bundles because Falcon doesn't
 		// generate fallback bundles like MXMLC;
-		ignoreMissingBundles = info.hasOwnProperty("isMXMLC");
+		ignoreMissingBundles = info && info.hasOwnProperty("isMXMLC");
 		
         if (info)
             processInfo(info, false);
 
-        ignoreMissingBundles = info.hasOwnProperty("isMXMLC");
+        ignoreMissingBundles = info && info.hasOwnProperty("isMXMLC");
         
         if (SystemManagerGlobals.topLevelSystemManagers.length)
 		    SystemManagerGlobals.topLevelSystemManagers[0].


Mime
View raw message