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

Fix stray onEvent in commandline.js.

--HG--
branch : key-processing
This commit is contained in:
Kris Maglione
2011-01-24 13:55:00 -05:00
parent 9786171520
commit aee85a7396
2 changed files with 2 additions and 2 deletions

View File

@@ -911,7 +911,7 @@ var CommandLine = Module("commandline", {
modes.push(modes.COMMAND_LINE, modes.PROMPT | extra.extended,
update(Object.create(extra), {
onKeyPress: extra.onEvent || this.closure.onKeyPress,
onKeyPress: extra.onKeyPress || this.closure.onKeyPress,
leave: function leave(stack) {
commandline.leave(stack);
leave.supercall(extra, stack);

View File

@@ -332,7 +332,7 @@ var Util = Module("Util", XPCOM([Ci.nsIObserver, Ci.nsISupportsWeakReference]),
([^]*?) // 1
(?:
(<\{) | // 2
(< ((?:[a-z]-)?[a-z-]*?) >) | // 3 4
(< ((?:[a-z]-)?[a-z-]+?) >) | // 3 4
(\}>) // 5
)
]]>, "giy");