From 321706e5c6de9e5d9d4851bd54dcbb368d35d5a3 Mon Sep 17 00:00:00 2001 From: Francisco Ryan Tolmasky I Date: Sat, 27 Mar 2010 18:52:19 -0700 Subject: [PATCH] Fix for user code errors during load not being reported (Cappuccino failing silently). Reviewed by me. --- Objective-J/CFBundle.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Objective-J/CFBundle.js b/Objective-J/CFBundle.js index 5d86df91b..7f75d3d1d 100644 --- a/Objective-J/CFBundle.js +++ b/Objective-J/CFBundle.js @@ -437,12 +437,13 @@ function loadSpritedImagesForBundle(/*Bundle*/ aBundle, success, failure) CFTotalBytesLoaded += anEvent.request.responseText().length; decompileStaticFile(aBundle, anEvent.request.responseText(), spritedImagesURL); aBundle._loadStatus &= ~CFBundleLoadingSpritedImages; - success(); } catch(anException) { failure(anException); } + + success(); }, failure); }