1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-03-24 10:23:33 +01:00

Fix cryptic bug.

This commit is contained in:
Kris Maglione
2011-03-12 17:17:15 -05:00
parent 2a84a31f3a
commit be31094caf

View File

@@ -115,9 +115,9 @@ var ProcessorStack = Class("ProcessorStack", {
else { else {
let list = this.events.filter(function (e) e.getPreventDefault() && !e.dactylDefaultPrevented); let list = this.events.filter(function (e) e.getPreventDefault() && !e.dactylDefaultPrevented);
if (result === Events.PASS) if (result === Events.PASS)
events.dbg("PASS THROUGH: " + list.slice(0, length).filter(function (e) e.type === "keypress").map(events.toString)); events.dbg("PASS THROUGH: " + list.slice(0, length).filter(function (e) e.type === "keypress").map(events.closure.toString));
if (list.length > length) if (list.length > length)
events.dbg("REFEED: " + list.slice(length).filter(function (e) e.type === "keypress").map(events.toString)); events.dbg("REFEED: " + list.slice(length).filter(function (e) e.type === "keypress").map(events.closure.toString));
if (result === Events.PASS) if (result === Events.PASS)
events.feedevents(null, list.slice(0, length), { skipmap: true, isMacro: true, isReplay: true }); events.feedevents(null, list.slice(0, length), { skipmap: true, isMacro: true, isReplay: true });