Skip to content

Commit

Permalink
Merge pull request #1477 from cacaodev/CFBundle-loadStatus-fix
Browse files Browse the repository at this point in the history
CFBundle: isLoaded() should return a bool
  • Loading branch information
aparajita committed Mar 14, 2012
2 parents c21d2fd + 9b0d03b commit d3c368b
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 d3c368b

Please sign in to comment.