mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-06 17:12:50 +00:00
Merge pull request #1477 from cacaodev/CFBundle-loadStatus-fix
CFBundle: isLoaded() should return a bool
This commit is contained in:
commit
d3c368ba92
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user