Permalink
Browse files

forgot to save self in openDbs >_<

  • Loading branch information...
1 parent 2cfa741 commit a4fef1593dcbabc77c566de97911e70a6261f098 @pkrumins committed Oct 8, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/store.js
View
@@ -34,14 +34,13 @@ function Store(opts, cb) {
self.on('ready', function () {
ready = true;
+ openDbs[opts.filename] = self;
actionQueue.forEach(function (action) {
self[action.action].apply(action.args);
});
delete actionQueue;
});
- console.dir(opts.filename);
-
if (openDbs[opts.filename]) {
var db = openDbs[opts.filename];
}

0 comments on commit a4fef15

Please sign in to comment.