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

Expose last triggers #217

Merged
merged 3 commits into from
Mar 9, 2017
Merged

Expose last triggers #217

merged 3 commits into from
Mar 9, 2017

Conversation

n1t0
Copy link

@n1t0 n1t0 commented Mar 8, 2017

Expose all the matched triggers to the user data

Fix #216

rivescript.d.ts Outdated
interface Trigger {
trigger: string,
reply: string[],
conditions: string[],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Make this name singular for consistency with the other places in the code.

@@ -940,6 +940,19 @@ class RiveScript
return undefined

##
# object lastTrigger (string user)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This name in the documentation should be plural to match the function name below.

@n1t0
Copy link
Author

n1t0 commented Mar 9, 2017

I can't relaunch Travis builds, but it failed on an npm install -g grunt-cli coffee-script

@kirsle kirsle merged commit a6e9084 into aichaos:master Mar 9, 2017
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.

2 participants