1
0
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:
Kris Maglione
2011-08-14 13:09:51 -04:00
parent 7c61244e5a
commit 9273db48ab
5 changed files with 11 additions and 8 deletions

View File

@@ -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]
}),

View File

@@ -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;
}
}, {