1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-05 10:14:10 +01:00

Import fixes from groups branch.

This commit is contained in:
Kris Maglione
2011-02-07 18:49:26 -05:00
parent 1005f72e4f
commit 9f0cecb9f7
4 changed files with 10 additions and 13 deletions

View File

@@ -1330,7 +1330,7 @@ var Commands = Module("commands", {
args["-description"],
Command.bindMacro(args, "-ex",
function makeParams(args, modifiers) ({
args: {
args: {
__proto__: args,
toString: function () this.string,
},

View File

@@ -57,8 +57,10 @@ var ProcessorStack = Class("ProcessorStack", {
events.feedingKeys = false;
}
for (var res = this.actions[0]; callable(res);)
res = res();
for (var res = this.actions[0]; callable(res);) {
res = dactyl.trapErrors(res);
dbg("ACTION RES: " + res);
}
result = res === Events.PASS ? Events.PASS : Events.KILL;
}
else if (result !== Events.KILL && !this.actions.length &&

View File

@@ -424,7 +424,7 @@ var Modes = Module("modes", {
hidden: false,
input: false,
input: Class.memoize(function () this.bases.length && this.bases.some(function (b) b.input)),
get passUnknown() this.input,