CFBundle: isLoaded() should return a bool

This commit is contained in:
cacaodev
2012-03-14 21:10:35 +01:00
parent 87cc62d1d8
commit 9b0d03b024
+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);