Permalink
Browse files

oops, self was not defined

  • Loading branch information...
dominictarr committed Mar 4, 2013
1 parent 67b4579 commit 40077afaef5700b008234f5e59dd115caf4cebde
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/levelup.js
View
@@ -125,7 +125,7 @@ var leveldown = require('leveldown')
deferred[name] = function () {
var args = Array.prototype.slice.call(arguments)
this.once('ready', function () {
- this._db[name].apply(self._db, args)
+ this._db[name].apply(this._db, args)
})
}.bind(this)
}.bind(this))

0 comments on commit 40077af

Please sign in to comment.