Skip to content

Commit

Permalink
remove unneeded custom readStream for hyperdb v2
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Forster committed Mar 27, 2018
1 parent 09e39e5 commit ba8958d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 202 deletions.
7 changes: 0 additions & 7 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,10 @@ const HyperdbReadTransform = require('./lib/HyperdbReadTransform')
const JoinStream = require('./lib/JoinStream')
const planner = require('./lib/planner')
const pkg = require('./package.json')
const attachCreateReadStream = require('./lib/hyperdbModifier').attachCreateReadStream

const Transform = stream.Transform
const PassThrough = stream.PassThrough

// temporarily augment hyperdb prototype to include createReadStream
// if (!hyperdb.createReadStream) {
// console.log('USING CUSTOM createReadStream')
// attachCreateReadStream(hyperdb)
// }

function Graph (storage, key, opts) {
if (!(this instanceof Graph)) return new Graph(storage, key, opts)
events.EventEmitter.call(this)
Expand Down
195 changes: 0 additions & 195 deletions lib/hyperdbModifier.js

This file was deleted.

0 comments on commit ba8958d

Please sign in to comment.