Added a bare bones test panel

pull/134/merge
Ruben Daniels 2015-08-12 04:27:09 +00:00
rodzic 37b725d2d0
commit fc56b2517e
3 zmienionych plików z 8 dodań i 7 usunięć

Wyświetl plik

@ -387,6 +387,12 @@ module.exports = function(options) {
"plugins/c9.ide.run.debug.xdebug/xdebug",
"plugins/c9.ide.run.debug/debuggers/gdb/gdbdebugger",
// Test
"plugins/c9.ide.test/test",
"plugins/c9.ide.test/testpanel",
"plugins/c9.ide.test/all",
// "plugins/c9.ide.test/lastrun",
// Console
{
packagePath: "plugins/c9.ide.terminal/terminal",

Wyświetl plik

@ -1,7 +1,7 @@
{
"name": "c9",
"description": "New Cloud9 Client",
"version": "3.0.1",
"version": "3.0.2302",
"author": "Ajax.org B.V. <info@ajax.org>",
"private": true,
"main": "bin/c9",

Wyświetl plik

@ -35,11 +35,7 @@ define(function(require, exports, module) {
var winCommands, txtFilter, tree, ldSearch;
var lastSearch;
var loaded = false;
function load(){
if (loaded) return false;
loaded = true;
plugin.setCommand({
name: "commands",
hint: "search for a command and execute it",
@ -52,7 +48,7 @@ define(function(require, exports, module) {
});
// Menus
menus.addItemByPath("Goto/Goto Command...", new apf.item({
menus.addItemByPath("Goto/Goto Command...", new ui.item({
command: "commands"
}), 250, plugin);
}
@ -234,7 +230,6 @@ define(function(require, exports, module) {
tabs.preview({ cancel: true });
});
plugin.on("unload", function(){
loaded = false;
drawn = false;
});