FotoVerite/Faker.js — pull request #7 by aexmachina (2014-05-16 02:32:20+00:00)
Title: Remove reference to `this`

Remove reference to `this` so that Faker.Internet.email and domainName can be used without having to bind the function receiver with `Faker.Internet.email.bind(Faker.Internet)`.

Before:

```
var factory = require('factory-girl'),
User = require('src/models/User');
factory.define('User', User, {
given_name: Faker.Name.firstName,
surname: Faker.Name.lastName,
email: Faker.Internet.email.bind(Faker.Internet)
});
```

After:

```
var factory = require('factory-girl'),
User = require('src/models/User');
factory.define('User', User, {
given_name: Faker.Name.firstName,
surname: Faker.Name.lastName,
email: Faker.Internet.email
});
```