mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 06:07:59 +01:00
Fix stray onEvent in commandline.js.
--HG-- branch : key-processing
This commit is contained in:
@@ -911,7 +911,7 @@ var CommandLine = Module("commandline", {
|
|||||||
|
|
||||||
modes.push(modes.COMMAND_LINE, modes.PROMPT | extra.extended,
|
modes.push(modes.COMMAND_LINE, modes.PROMPT | extra.extended,
|
||||||
update(Object.create(extra), {
|
update(Object.create(extra), {
|
||||||
onKeyPress: extra.onEvent || this.closure.onKeyPress,
|
onKeyPress: extra.onKeyPress || this.closure.onKeyPress,
|
||||||
leave: function leave(stack) {
|
leave: function leave(stack) {
|
||||||
commandline.leave(stack);
|
commandline.leave(stack);
|
||||||
leave.supercall(extra, stack);
|
leave.supercall(extra, stack);
|
||||||
|
|||||||
@@ -332,7 +332,7 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
|
|||||||
([^]*?) // 1
|
([^]*?) // 1
|
||||||
(?:
|
(?:
|
||||||
(<\{) | // 2
|
(<\{) | // 2
|
||||||
(< ((?:[a-z]-)?[a-z-]*?) >) | // 3 4
|
(< ((?:[a-z]-)?[a-z-]+?) >) | // 3 4
|
||||||
(\}>) // 5
|
(\}>) // 5
|
||||||
)
|
)
|
||||||
]]>, "giy");
|
]]>, "giy");
|
||||||
|
|||||||
Reference in New Issue
Block a user