From 9b0d03b02449e7cf8045d91f503ccff9de29e73a Mon Sep 17 00:00:00 2001 From: cacaodev Date: Mon, 30 Jan 2012 14:40:49 +0100 Subject: [PATCH] CFBundle: isLoaded() should return a bool --- Objective-J/CFBundle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Objective-J/CFBundle.js b/Objective-J/CFBundle.js index dcb166aab..654e2bf34 100644 --- a/Objective-J/CFBundle.js +++ b/Objective-J/CFBundle.js @@ -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);