mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 19:07:58 +01:00
Fix occurances of this.generic in completion.js
This commit is contained in:
@@ -223,7 +223,7 @@ const template = {
|
|||||||
|
|
||||||
jumps: function jumps(index, elems)
|
jumps: function jumps(index, elems)
|
||||||
{
|
{
|
||||||
return this.generic(
|
return this.commandOutput(
|
||||||
<table>
|
<table>
|
||||||
<tr style="text-align: left;" highlight="Title">
|
<tr style="text-align: left;" highlight="Title">
|
||||||
<th colspan="2">jump</th><th>title</th><th>URI</th>
|
<th colspan="2">jump</th><th>title</th><th>URI</th>
|
||||||
@@ -242,7 +242,7 @@ const template = {
|
|||||||
|
|
||||||
options: function options(title, opts)
|
options: function options(title, opts)
|
||||||
{
|
{
|
||||||
return this.generic(
|
return this.commandOutput(
|
||||||
<table>
|
<table>
|
||||||
<tr highlight="Title" align="left">
|
<tr highlight="Title" align="left">
|
||||||
<th>--- {title} ---</th>
|
<th>--- {title} ---</th>
|
||||||
@@ -281,7 +281,7 @@ const template = {
|
|||||||
tabular: function tabular(headings, style, iter)
|
tabular: function tabular(headings, style, iter)
|
||||||
{
|
{
|
||||||
/* This might be mind-bogglingly slow. We'll see. */
|
/* This might be mind-bogglingly slow. We'll see. */
|
||||||
return this.generic(
|
return this.commandOutput(
|
||||||
<table>
|
<table>
|
||||||
<tr highlight="Title" align="left">
|
<tr highlight="Title" align="left">
|
||||||
{
|
{
|
||||||
@@ -303,7 +303,7 @@ const template = {
|
|||||||
|
|
||||||
usage: function usage(iter)
|
usage: function usage(iter)
|
||||||
{
|
{
|
||||||
return this.generic(
|
return this.commandOutput(
|
||||||
<table>
|
<table>
|
||||||
{
|
{
|
||||||
this.map(iter, function (item)
|
this.map(iter, function (item)
|
||||||
|
|||||||
Reference in New Issue
Block a user