-
this masks actual problems
cc @twokul
-
Hello,
Maybe if I've missed the idiomatic way to do this in simple-schema: initialize an object with all the fields declared in the schema, and their value set to either undefined or a given value (i…
-
I've been using chance for a couple of weeks now and I'm finding that I'm having code like the following:
```
var statuses = [ 200, 200, 200, 200, 200, 200, 304, 404, 404, 403, 403, 500 ];
console.lo…
-
It seems like this is really useful for generating fake user profiles.
It also seems like having Mrs as a Male and John as a Female is (all political landscape nonsense aside) not very useful.
How w…
-
Run this a few times and see that negative numbers pop out sometimes.
``` javascript
'use strict';
var chance = new Chance()
, dob
;
dob = chance.birthday({ type: chance.pick(['child', 'teen', …
-
The [documentation for `pick()`](http://chancejs.com/#pick) doesn't mention the second parameter `count`.
-
We got gremlins up and running (neat project, btw) but are encountering an error after a second or two of testing. I was hoping for some insight.
```
Uncaught RangeError: Chance: Min cannot be great…
-
It's a bit confusing to see pseudorandom strings formatted as UUIDs with essentially nonsensical values (ie: not specifying the variant/following the spec). While they work as arbitrary string identi…
-
> last
> chance.last()
> Generate a random last name
``` js
Chance.first();
=> 'Mame'
```
-
``` javascript
chance.name({prefix:true});
```
```
TypeError: this.prefix is not a function
name = this.prefix() + ' ' + name;
```
It seems that you call `this.prefix()` instead of `this.name_prefix…