We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
All the examples show:
var stairs = require('stairs'); stairs.step(/*...*/) // etc.
But require('stairs') actually returns the class Stairs, so it should be more like:
require('stairs')
Stairs
var stairs = new (require('stairs'))() stairs.step(/* etc. */)
The text was updated successfully, but these errors were encountered:
Well lets fix it
Sorry, something went wrong.
No branches or pull requests
All the examples show:
But
require('stairs')
actually returns the classStairs
, so it should be more like:The text was updated successfully, but these errors were encountered: