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

Using chance in server side #1

Open
ncubica opened this issue Feb 1, 2015 · 1 comment
Open

Using chance in server side #1

ncubica opened this issue Feb 1, 2015 · 1 comment

Comments

@ncubica
Copy link

ncubica commented Feb 1, 2015

Why chance.integer is undefined in the server side? Do I have to add/install anything else a part of thepumpinglemma:chance

@ThePumpingLemma
Copy link
Owner

This worked for me:

chance = new Chance()
chance.integer()

Have to call the method on an instantiated instance.

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

2 participants