Skip to content

Commit

Permalink
forgot to save self in openDbs >_<
Browse files Browse the repository at this point in the history
  • Loading branch information
pkrumins committed Oct 8, 2010
1 parent 2cfa741 commit a4fef15
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
}
Expand Down

0 comments on commit a4fef15

Please sign in to comment.