Merge remote branch 'refs/remotes/280north/master'

This commit is contained in:
Aparajita Fishman
2011-05-06 17:56:00 -04:00
+2 -1
View File
@@ -519,7 +519,8 @@ function CFBundleNotifySpriteSupportListeners()
function CFBundleTestSpriteTypes(/*Array*/ spriteTypes)
{
if (spriteTypes.length < 2)
// If we don't support Images, then clearly we don't support sprites.
if (!("Image" in global) || spriteTypes.length < 2)
{
CFBundleSupportedSpriteType = CFBundleNoSpriteType;
CFBundleNotifySpriteSupportListeners();