kopia lustrzana https://github.com/c9/core
make smartface config more self contained
rodzic
837e156abb
commit
f8a99d2bca
|
@ -86,9 +86,11 @@ define(function(require, exports, module) {
|
|||
}]);
|
||||
|
||||
statics.addStatics(externalPlugins.map(function(plugin) {
|
||||
if (typeof plugin == "string")
|
||||
plugin = { path: plugin, mount: plugin};
|
||||
return {
|
||||
path: __dirname + "/../../node_modules/" + plugin,
|
||||
mount: "/plugins/" + plugin
|
||||
path: __dirname + "/../../node_modules/" + plugin.path,
|
||||
mount: "/plugins/" + plugin.mount
|
||||
};
|
||||
}));
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue