proceed if plugin-definitions.json didn't load properly

This commit is contained in:
Matthias Bartelmeß 2012-03-24 13:29:15 +01:00
parent ef248555aa
commit 1789c6e1c5
1 changed files with 3 additions and 0 deletions

View File

@ -86,6 +86,9 @@ if (exports.isClient) {
exports.hooks = exports.extractHooks(exports.parts, "client_hooks"); exports.hooks = exports.extractHooks(exports.parts, "client_hooks");
exports.loaded = true; exports.loaded = true;
cb(); cb();
}).error(function(xhr, s, err){
console.error("Failed to load plugin-definitions: " + err);
cb();
}); });
} }
} else { } else {