You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2013/11/05 21:58:07 UTC

[8/8] git commit: [flex-sdk] [refs/heads/develop] - forgot that Resources can be used outside of a Flex app

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 <ah...@apache.org>
Authored: Tue Nov 5 12:12:24 2013 -0800
Committer: Alex Harui <ah...@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].