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

addStep not return step instance #165

Closed
oom- opened this issue Jun 19, 2017 · 3 comments
Closed

addStep not return step instance #165

oom- opened this issue Jun 19, 2017 · 3 comments

Comments

@oom-
Copy link

oom- commented Jun 19, 2017

image

Here

Like the issue #76

A quick fix was exist for an older version #88
image

@crabmusket
Copy link

We just ran into this. Disappointing it's been ignored for so long!

@RobbieTheWagner
Copy link
Member

I believe this is the intended behavior. From the docs Creates a new Step object with options, and returns the Tour object for convenient chaining when creating multiple steps. Perhaps returning the step is more helpful than being able to chain though.

@RobbieTheWagner
Copy link
Member

The docs were actually contradicting, so I fixed them, and returned the step. Sorry for the delay!

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

No branches or pull requests

3 participants