mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-14 18:45:46 +01:00
Decode URLs in the completion list against my better judgment. Get rid of bloody newlines in strict mode lambdas.
This commit is contained in:
@@ -38,7 +38,7 @@ var Bookmarks = Module("bookmarks", {
|
||||
get format() ({
|
||||
anchored: false,
|
||||
title: ["URL", "Info"],
|
||||
keys: { text: "url", description: "title", icon: "icon", extra: "extra", tags: "tags" },
|
||||
keys: { text: "url", description: "title", icon: "icon", extra: "extra", tags: "tags", isURI: function () true },
|
||||
process: [template.icon, template.bookmarkDescription]
|
||||
}),
|
||||
|
||||
|
||||
@@ -1343,8 +1343,8 @@ var CommandLine = Module("commandline", {
|
||||
arg = dactyl.userEval(arg);
|
||||
if (isObject(arg))
|
||||
arg = util.objectToString(arg, useColor);
|
||||
else
|
||||
arg = String(arg);
|
||||
else if (!isString(arg) && useColor)
|
||||
arg = template.highlight(arg);
|
||||
return arg;
|
||||
}
|
||||
}, {
|
||||
|
||||
Reference in New Issue
Block a user