Browse Source

Call EventEmitter constructor

saintedlama/travis-non-legacy
saintedlama 9 years ago
parent
commit
26cc39503d
  1. 2
      lib/database.js

2
lib/database.js

@ -11,6 +11,8 @@ var noop = function () {}
var Database = function (connString, cols, options) {
var self = this
EventEmitter.call(this)
// TODO: Cleanup theses options - including xtend stuff in index.js
if (typeof connString === 'string') {
this._dbname = parse(connString).dbName

Loading…
Cancel
Save