mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 14:27:59 +01:00
rename completion.alternateStylesheet to alternateStyleSheet
This commit is contained in:
@@ -525,7 +525,7 @@ function Buffer() //{{{
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
argCount: "?",
|
argCount: "?",
|
||||||
completer: function (context) completion.alternateStylesheet(context),
|
completer: function (context) completion.alternateStyleSheet(context),
|
||||||
literal: 0
|
literal: 0
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -740,7 +740,7 @@ function Commands() //{{{
|
|||||||
|
|
||||||
// TODO: offer completion.ex?
|
// TODO: offer completion.ex?
|
||||||
var completeOptionMap = {
|
var completeOptionMap = {
|
||||||
altstyle: "alternateStylesheet", bookmark: "bookmark",
|
altstyle: "alternateStyleSheet", bookmark: "bookmark",
|
||||||
buffer: "buffer", color: "colorScheme", command: "command",
|
buffer: "buffer", color: "colorScheme", command: "command",
|
||||||
dialog: "dialog", dir: "directory", environment: "environment",
|
dialog: "dialog", dir: "directory", environment: "environment",
|
||||||
event: "autocmdEvent", file: "file", help: "help",
|
event: "autocmdEvent", file: "file", help: "help",
|
||||||
|
|||||||
@@ -1580,7 +1580,7 @@ function Completion() //{{{
|
|||||||
context.completions = Array.map(menu.childNodes, function (n) [n.label, ""]);
|
context.completions = Array.map(menu.childNodes, function (n) [n.label, ""]);
|
||||||
},
|
},
|
||||||
|
|
||||||
alternateStylesheet: function alternateStylesheet(context)
|
alternateStyleSheet: function alternateStylesheet(context)
|
||||||
{
|
{
|
||||||
context.title = ["Stylesheet", "Location"];
|
context.title = ["Stylesheet", "Location"];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user