1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 00:07:59 +01:00

Get rid of stale dump statements.

--HG--
branch : key-processing
This commit is contained in:
Kris Maglione
2011-01-26 23:46:17 -05:00
parent 00a2b7116d
commit ff0b1be13d

View File

@@ -273,7 +273,6 @@ var Modes = Module("modes", {
// helper function to set both modes in one go
set: function set(mainMode, extendedMode, params, stack) {
util.dumpStack(" ========== " + mainMode.toString());
params = params || this.getMode(mainMode || this.main).params;
if (!stack && mainMode != null && this._modeStack.length > 1)
@@ -317,11 +316,9 @@ var Modes = Module("modes", {
this._modeStack.push(push);
if (stack && stack.pop)
for (let { obj, prop, value, test } in values(this.topOfStack.saved)) {
util.dump("pop " + obj + " " + prop + " " + !!test + " " + (test && test(stack, prev)));
for (let { obj, prop, value, test } in values(this.topOfStack.saved))
if (!test || !test(stack, prev))
obj[prop] = value;
}
this.show();