1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-06 21:45:45 +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 {
let list = this.events.filter(function (e) e.getPreventDefault() && !e.dactylDefaultPrevented);
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)
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)
events.feedevents(null, list.slice(0, length), { skipmap: true, isMacro: true, isReplay: true });