Fix a bug with the new EventEmitter inheritance

See https://travis-ci.org/lukasbestle/newdb/jobs/103116844. The build failed for Node 0.10.
This fixes it by using a syntax that is supported in all supported Node versions, including v0.10.
pull/2/head
Lukas Bestle 9 years ago
parent 60df1db0e1
commit 27b732ee9b
  1. 2
      lib/datastore.js

@ -77,7 +77,7 @@ function Datastore (options) {
}); } }); }
} }
util.inherits(Datastore, require('events')); util.inherits(Datastore, require('events').EventEmitter);
/** /**

Loading…
Cancel
Save