Skip to content

Commit

Permalink
[api] Added bindAll() to Database module #377
Browse files Browse the repository at this point in the history
  • Loading branch information
Marak committed Feb 21, 2017
1 parent 4a59e18 commit 0b60bf7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,14 +52,12 @@ function Faker (opts) {

var Random = require('./random');
self.random = bindAll(new Random(self));
// self.random = require('./random');

var Helpers = require('./helpers');
self.helpers = new Helpers(self);

var Name = require('./name');
self.name = bindAll(new Name(self));
// self.name = require('./name');

var Address = require('./address');
self.address = bindAll(new Address(self));
Expand All @@ -83,7 +81,7 @@ function Faker (opts) {
self.internet = bindAll(new Internet(self));

var Database = require('./database');
self.database = new Database(self);
self.database = bindAll(new Database(self));

var Phone = require('./phone_number');
self.phone = bindAll(new Phone(self));
Expand Down

0 comments on commit 0b60bf7

Please sign in to comment.