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

Remove all commands with no param #79

Merged
merged 2 commits into from
May 25, 2014
Merged

Remove all commands with no param #79

merged 2 commits into from
May 25, 2014

Conversation

James1x0
Copy link
Contributor

@James1x0 James1x0 commented Apr 4, 2014

There's no way to remove all commands unless you convert your original command list into an array.

@rgoliveira
Copy link

+1
I forked just to implement this hahaha

@James1x0
Copy link
Contributor Author

@rgoliveira @TalAter kind of a must have. Lol

TalAter added a commit that referenced this pull request May 25, 2014
Calling removeCommands with no arguments, removes all commands.
@TalAter TalAter merged commit 45796f4 into TalAter:master May 25, 2014
@TalAter
Copy link
Owner

TalAter commented May 25, 2014

Looks good.

I just did one change. The parameter to empty should be commandsList and not commandsToRemove.

Thanks for the help!

I would love to see how you guys use annyang.

@rgoliveira
Copy link

Great! Thank you, TalAter.

I'm just playing around to see how this Speech API is working right now. If you want to check it out, I've set up a simple game on my website: http://rgoliveira.com/speech-adventure
It's not the latest development version and has some bugs, so you might need to reload the page a few times for it to work properly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants