1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-12-07 09:18:06 +00:00

Remove final vestiges of undo/redo buttons

This commit is contained in:
Jermolene
2016-05-01 13:54:16 +01:00
parent 72fb1e22ed
commit 6dce8d9763
3 changed files with 0 additions and 28 deletions

View File

@@ -152,21 +152,6 @@ CodeMirrorEngine.prototype.executeTextOperation = function(operation) {
return newText;
};
/*
Execute a command
*/
CodeMirrorEngine.prototype.execCommand = function(command) {
this.cm.focus();
switch(command) {
case "undo":
this.cm.execCommand("undo", false, null);
break;
case "redo":
this.cm.execCommand("redo", false, null);
break;
}
};
exports.CodeMirrorEngine = CodeMirrorEngine;
})();