mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-22 00:37:58 +01:00
Remove debugging statements from last commit.
This commit is contained in:
@@ -788,8 +788,6 @@ const Events = Module("events", {
|
|||||||
let stop = false;
|
let stop = false;
|
||||||
let mode = modes.getStack(0);
|
let mode = modes.getStack(0);
|
||||||
|
|
||||||
util.dump(String(mode), key);
|
|
||||||
|
|
||||||
let win = document.commandDispatcher.focusedWindow;
|
let win = document.commandDispatcher.focusedWindow;
|
||||||
if (win && win.document && "designMode" in win.document && win.document.designMode == "on" && !config.isComposeWindow)
|
if (win && win.document && "designMode" in win.document && win.document.designMode == "on" && !config.isComposeWindow)
|
||||||
stop = true;
|
stop = true;
|
||||||
@@ -810,8 +808,6 @@ const Events = Module("events", {
|
|||||||
}
|
}
|
||||||
// handle Escape-all-keys mode (Ctrl-q)
|
// handle Escape-all-keys mode (Ctrl-q)
|
||||||
|
|
||||||
util.dump(String(mode), key, stop);
|
|
||||||
|
|
||||||
if (stop) {
|
if (stop) {
|
||||||
this._input.buffer = "";
|
this._input.buffer = "";
|
||||||
return null;
|
return null;
|
||||||
|
|||||||
@@ -272,7 +272,6 @@ const Modes = Module("modes", {
|
|||||||
},
|
},
|
||||||
|
|
||||||
pop: function pop(mode) {
|
pop: function pop(mode) {
|
||||||
util.dumpStack(mode);
|
|
||||||
while (this._modeStack.length > 1 && this.main != mode) {
|
while (this._modeStack.length > 1 && this.main != mode) {
|
||||||
let a = this._modeStack.pop();
|
let a = this._modeStack.pop();
|
||||||
this.set(this.topOfStack.main, this.topOfStack.extended, this.topOfStack.params,
|
this.set(this.topOfStack.main, this.topOfStack.extended, this.topOfStack.params,
|
||||||
|
|||||||
Reference in New Issue
Block a user