Merge pull request #1477 from cacaodev/CFBundle-loadStatus-fix

CFBundle: isLoaded() should return a bool
This commit is contained in:
aparajita committed 2012-03-14 14:27:04 -07:00
commit d3c368ba92
1 file changed
+1 -1
+1 -1
View File
@@ -239,7 +239,7 @@ DISPLAY_NAME(CFBundle.prototype.isLoading);
CFBundle.prototype.isLoaded = function()
{
return this._loadStatus & CFBundleLoaded;
return !!(this._loadStatus & CFBundleLoaded);
}
DISPLAY_NAME(CFBundle.prototype.isLoaded);