1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-07 06:55:45 +01:00

Remove leftover dump statement.

This commit is contained in:
Kris Maglione
2011-10-04 08:38:08 -04:00
parent 9881403ddb
commit fad8224c45
3 changed files with 2 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ var Editor = Module("editor", {
get isTextEdit() modes.getStack(1).main == modes.TEXT_EDIT,
deselectText: function () {
if (this.selection)
if (this.selection && this.selection.focusNode)
this.selection.collapse(this.selection.focusNode,
this.selection.focusOffset);
},

View File

@@ -1400,7 +1400,6 @@ var Commands = Module("commands", {
};
completion.exMacro = function exMacro(context, args, cmd) {
util.dump(cmd.action.macro, cmd.action);
if (!cmd.action.macro)
return;
let { macro } = cmd.action;

View File

@@ -601,7 +601,7 @@ var CompletionContext = Class("CompletionContext", {
}
this.offset += count;
if (this._filter)
this._filter = this._filter.substr(advance);
this._filter = this._filter.substr(arguments[0] || 0);
},
/**