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:
@@ -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))
|
||||
|
||||
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user