Permalink
Browse files

fix global leak

  • Loading branch information...
1 parent 87402cf commit 2b116adcb8722040ff8525c2f0cf7aa60d5ce895 @dominictarr committed Feb 28, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 index.js
View
@@ -130,7 +130,7 @@ module.exports = function (db, id, schema) {
}
var dbO
- opener = BufferedOpener(schema, id).swap(dbO = DbOpener(db))
+ var opener = BufferedOpener(schema, id).swap(dbO = DbOpener(db))
db.scuttlebutt.open = opener.open
db.scuttlebutt.view = opener.view

0 comments on commit 2b116ad

Please sign in to comment.