-
-
Notifications
You must be signed in to change notification settings - Fork 651
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
Implement ESDoc #226
Implement ESDoc #226
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
a few questions...
src/js/step.js
Outdated
|
||
/** | ||
* Wraps `_show` and ensures `beforeShowPromise` resolves before calling show | ||
* @return {*} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does esdoc not support {Promise}
here as the returned value?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does, we don't always return a promise though, if beforeShowPromise
is not a function.
src/js/step.js
Outdated
/** | ||
* Determines button options prior to rendering | ||
* | ||
* @private |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
still should have @return
for readability
/** | ||
* Setup a new step object | ||
* @param {Object} stepOptions The object describing the options for the step | ||
* @param {String|Number} name The string or number to use as the `id` for the step |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems like type should be limited here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both numbers and strings are supported
d984eab
to
0977210
Compare
No description provided.