1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-09 03:54:11 +01:00

Poke :downloads a bit. Add -sort flag, downloadsort option, :dlclear command. Closes issue #386.

--HG--
extra : rebase_source : 1ce7621d39e91f2779d1827975b44f00c7a1d00b
This commit is contained in:
Kris Maglione
2011-04-28 16:55:55 -04:00
parent 6ed4005e85
commit a5e4a50569
9 changed files with 187 additions and 21 deletions

View File

@@ -983,6 +983,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
}
else if (obj instanceof Option) {
link = function (opt, name) <o>{name}</o>;
args = { value: "", values: [] };
}
XML.prettyPrinting = false;
@@ -1027,7 +1028,7 @@ var Dactyl = Module("dactyl", XPCOM(Ci.nsISupportsWeakReference, ModuleBase), {
}
if (obj.completer)
add(completion._runCompleter(obj.completer, "", null, args).items
add(completion._runCompleter(obj.closure.completer, "", null, args).items
.map(function (i) [i.text, i.description]));
if (obj.options && obj.options.some(function (o) o.description))

View File

@@ -131,8 +131,8 @@ var MOW = Module("mow", {
catch (e) {
util.reportError(e);
util.dump(data);
this.messages.push(data);
}
this.messages.push(data);
}
else {
let style = isString(data) ? "pre" : "nowrap";