Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typo and name commandderCommandTable -> commanderCommandList #327

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -21921,4 +21921,4 @@
"submodules": [],
"type": "Module"
}
]
]