1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-02-05 08:45:46 +01:00

Move the completion list above the MOW in REPL mode.

This commit is contained in:
Kris Maglione
2011-04-04 20:59:37 -04:00
parent 2dd8c88898
commit 8f996c79bd
2 changed files with 18 additions and 12 deletions

View File

@@ -790,6 +790,7 @@ var JavaScript = Module("javascript", {
this.repl = REPL(this.context);
},
open: function open(context) {
modules.mow.echo(this.repl);
@@ -807,6 +808,8 @@ var JavaScript = Module("javascript", {
mode: modes.REPL,
get completionList() this.widgets.statusbar.commandline.id,
accept: function accept() {
dactyl.trapErrors(function () { this.repl.addOutput(this.command) }, this);