a big lump of work to get the command line able to execute commands, and to hack in a trivial cli

This commit is contained in:
Joe Walker 2010-12-08 13:13:33 +00:00
commit 38c9fc7a93
17 changed files with 1715 additions and 379 deletions

View file

@ -45,7 +45,7 @@ var setupPlugins = function(config, callback) {
// packages: ["ace"]
// };
config.pluginDirs["../plugins"] = {
packages: ["pilot"]
packages: ["pilot", "cockpit"]
};
var knownPlugins = [];
@ -109,7 +109,10 @@ var setupPlugins = function(config, callback) {
}
}
}
console.log(JSON.stringify({
packagePaths: pluginPackageInfo,
paths: paths
}));
require({
packagePaths: pluginPackageInfo,
paths: paths

View file

@ -150,7 +150,7 @@ exports.launch = function(env) {
function onResize() {
container.style.width = (document.documentElement.clientWidth - 4) + "px";
container.style.height = (document.documentElement.clientHeight - 55 - 4) + "px";
container.style.height = (document.documentElement.clientHeight - 55 - 4 - 23) + "px";
env.editor.resize();
};