Skip to content

Commit

Permalink
CFBundle: isLoaded() should return a bool
Browse files Browse the repository at this point in the history
  • Loading branch information
cacaodev committed Mar 14, 2012
1 parent 87cc62d commit 9b0d03b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Objective-J/CFBundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 9b0d03b

Please sign in to comment.