mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-17 16:11:28 +00:00
Merge branch 'loader' of github.com:280north/cappuccino into loader
This commit is contained in:
@@ -212,7 +212,7 @@ function loadExecutableAndResources(/*Bundle*/ aBundle, /*BOOL*/ shouldExecute)
|
||||
if (aBundle._loadStatus === CFBundleLoading)
|
||||
return success();
|
||||
|
||||
function failure()
|
||||
function failure(/*Error*/ anError)
|
||||
{
|
||||
var loadRequests = aBundle._loadRequests,
|
||||
count = loadRequests.length;
|
||||
@@ -229,7 +229,7 @@ function loadExecutableAndResources(/*Bundle*/ aBundle, /*BOOL*/ shouldExecute)
|
||||
aBundle._eventDispatcher.dispatchEvent(
|
||||
{
|
||||
type:"error",
|
||||
error:new Error("Could not recognize executable code format in Bundle " + aBundle),
|
||||
error:anError || new Error("Could not recognize executable code format in Bundle " + aBundle),
|
||||
bundle:aBundle
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user