diff --git a/node_modules/frontdoor/lib/section.js b/node_modules/frontdoor/lib/section.js index 69c84e6c..0aa98a4f 100644 --- a/node_modules/frontdoor/lib/section.js +++ b/node_modules/frontdoor/lib/section.js @@ -233,7 +233,8 @@ module.exports = function Section(name, description, types) { var splitPath = path.split("/"); if (!splitPath[0]) splitPath.shift(); - if (splitPath.length) { + + if (splitPath.length && sections.hasOwnProperty(splitPath[0])) { var section = sections[splitPath[0]]; if (section && section.length) { var subPath = "/" + splitPath.slice(1).join("/"); diff --git a/package.json b/package.json index de6091cb..cfb1acec 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "c9", "description": "New Cloud9 Client", - "version": "3.0.2598", + "version": "3.0.2610", "author": "Ajax.org B.V. ", "private": true, "main": "bin/c9", @@ -71,7 +71,7 @@ "c9.ide.find": "#35379124ca", "c9.ide.find.infiles": "#c132ad243c", "c9.ide.find.replace": "#44772dd796", - "c9.ide.run.debug": "#db9c03c50a", + "c9.ide.run.debug": "#2bc3f31089", "c9.automate": "#47e2c429c9", "c9.ide.ace.emmet": "#6dc4585e02", "c9.ide.ace.gotoline": "#a8ff07c8f4", diff --git a/plugins/c9.ide.server/plugins.js b/plugins/c9.ide.server/plugins.js index f79b211e..5922d825 100644 --- a/plugins/c9.ide.server/plugins.js +++ b/plugins/c9.ide.server/plugins.js @@ -84,7 +84,7 @@ define(function(require, exports, module) { }]); statics.addStatics(externalPlugins.map(function(plugin) { - return { + return { path: __dirname + "/../../node_modules/" + plugin, mount: "/plugins/" + plugin }; @@ -141,4 +141,4 @@ define(function(require, exports, module) { "c9.static.plugins": plugin }); } -}); \ No newline at end of file +});