fix apikey undefined error in installed plugins

pull/248/merge
nightwing 2016-03-10 22:21:10 +04:00
rodzic 4fea886fdc
commit 7d1c9a94e8
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -87,8 +87,10 @@ define(function(require, exports, module) {
});
}
resolved.filter(function(config) {
if (extraPackages[config.packagePath])
if (extraPackages[config.packagePath]) {
_.assign(config, extraPackages[config.packagePath], function(x, y) { return x || y });
delete extraPackages[config.packagePath];
}
});
Object.keys(extraPackages).forEach(function(extraConfig) {
console.warn("[c9.ide.loader] Package "