1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 18:07:58 +01:00

Fix some inline/help docs.

This commit is contained in:
Kris Maglione
2009-01-08 20:56:26 -05:00
parent 6534a0c665
commit c4f5d4f84d
9 changed files with 154 additions and 173 deletions

View File

@@ -156,7 +156,7 @@ function Buffer() //{{{
options.add(["pageinfo", "pa"], "Desired info on :pa[geinfo]", "charlist", "gfm",
{
completer: function (filter) [[k, v[1]] for ([k, v] in Iterator(pageInfo))],
completer: function (context) [[k, v[1]] for ([k, v] in Iterator(pageInfo))],
validator: Option.validateCompleter
});
@@ -169,7 +169,7 @@ function Buffer() //{{{
"Show the destination of the link under the cursor in the status bar",
"number", 1,
{
completer: function (filter) [
completer: function (context) [
["0", "Don't show link destination"],
["1", "Show the link in the status line"],
["2", "Show the link in the command line"]
@@ -355,8 +355,7 @@ function Buffer() //{{{
function ()
{
liberator.open(util.readFromClipboard(),
/\bpaste\b/.test(options["activate"]) ?
liberator.NEW_BACKGROUND_TAB : liberator.NEW_TAB);
liberator[options.get("activate").has("paste") ? "NEW_BACKGROUND_TAB" : "NEW_TAB"]);
});
mappings.add(myModes, ["p", "<MiddleMouse>"],