Skip to content

Commit

Permalink
fix typo and name commandderCommandTable -> commanderCommandList (#327)
Browse files Browse the repository at this point in the history
* Update init.lua - fix typo and name

fix typo and name

commandderCommandTable -> commanderCommandList

* Update Commander.html -  fix typo and name

* Update docs.json -  fix typo and name
  • Loading branch information
muescha authored Feb 27, 2025
1 parent a045af7 commit 3aeb55f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Source/Commander.spoon/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
--- The way of Commander to generate it command list is
--- it goes to each spoon and extract all public functions inside the spoon table.
--- for each function the name is set to "spoonName.functionName".
--- if the spoon has a table called `commandderCommandTable`, Commander will
--- if the spoon has a table called `commanderCommandList`, Commander will
--- ignore everything else and take whatever is in the table.
--- In this case the naming convention is the same.
--- Then Commander grabs all the functions in global table.
Expand Down
4 changes: 2 additions & 2 deletions docs/Commander.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ <h1><a href="./index.html">docs</a> &raquo; Commander</h1>
<p>The way of Commander to generate it command list is
it goes to each spoon and extract all public functions inside the spoon table.
for each function the name is set to &quot;spoonName.functionName&quot;.
if the spoon has a table called <code>commandderCommandTable</code>, Commander will
if the spoon has a table called <code>commanderCommandList</code>, Commander will
ignore everything else and take whatever is in the table.
In this case the naming convention is the same.
Then Commander grabs all the functions in global table.
Expand Down Expand Up @@ -263,4 +263,4 @@ <h5><a href="#show">show</a></h5>
</table>
</section>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions docs/docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -3700,7 +3700,7 @@
}
],
"desc": "This spoon lets execute commands from other spoon by a chooser.",
"doc": "This spoon lets execute commands from other spoon by a chooser.\n\nThe way of Commander to generate it command list is\nit goes to each spoon and extract all public functions inside the spoon table.\nfor each function the name is set to \"spoonName.functionName\".\nif the spoon has a table called `commandderCommandTable`, Commander will\nignore everything else and take whatever is in the table.\nIn this case the naming convention is the same.\nThen Commander grabs all the functions in global table.\nfunctions are tested against `Commander.ignoredCommandList`,\nexcept when spoon author provides a `commanderCommandList`.\n\nCommander.chooser is the chooser, you can set background color, rows, etc, to it.",
"doc": "This spoon lets execute commands from other spoon by a chooser.\n\nThe way of Commander to generate it command list is\nit goes to each spoon and extract all public functions inside the spoon table.\nfor each function the name is set to \"spoonName.functionName\".\nif the spoon has a table called `commanderCommandList`, Commander will\nignore everything else and take whatever is in the table.\nIn this case the naming convention is the same.\nThen Commander grabs all the functions in global table.\nfunctions are tested against `Commander.ignoredCommandList`,\nexcept when spoon author provides a `commanderCommandList`.\n\nCommander.chooser is the chooser, you can set background color, rows, etc, to it.",
"items": [
{
"def": "Commander.addCommand(commandTable)",
Expand Down Expand Up @@ -22114,4 +22114,4 @@
"submodules": [],
"type": "Module"
}
]
]

0 comments on commit 3aeb55f

Please sign in to comment.