mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-09 18:30:59 +00:00
Merge branch 'loader' of github.com:280north/cappuccino into loader
This commit is contained in:
commit
82d3d1abc5
1 file changed
+2
-2
@@ -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