Mental note, don't comment out code you want to run.

This commit is contained in:
Thomas Wilburn 2014-01-11 23:58:45 -08:00
parent d61fb669a8
commit 77ea4ca42e

View file

@ -330,7 +330,7 @@ define([
});
};
/*var closeTabsRight = function(tabID) {
var closeTabsRight = function(tabID) {
tabID = tabID || tabs.indexOf(editor.getSession());
var toClose = [];
for (var i = tabs.length - 1; i > args.id; i--) {
@ -346,7 +346,7 @@ define([
});
contextMenus.register("Close tabs to the right", "closeTabsRight", "root/tabs/:id", function(args) {
closeTabsRight(args.id);
});*/
});
var init = function() {
cfg.modes.forEach(function(mode) {
@ -355,7 +355,6 @@ define([
option.value = mode.name;
syntax.append(option);
});
console.log(tabs.length);
if (!tabs.length) addTab("");
renderTabs();
enableTabDragDrop();