Skip to content

Commit

Permalink
index: use events file
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Nov 21, 2012
1 parent fdc1392 commit 018677b
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions index.js
Expand Up @@ -7,6 +7,7 @@ var monk = require('monk')
, Filter = require('./filter')
, Timestamp = require('bson').Timestamp
, EventEmitter = require('events').EventEmitter
, events = require('./events')
, debug = require('debug')('oplog');

/**
Expand All @@ -15,16 +16,6 @@ var monk = require('monk')

module.exports = Oplog;

/**
* Map between op ids and events.
*/

var events = {
i: 'insert',
u: 'update',
d: 'remove'
};

/**
* Oplog constructor.
*
Expand Down

0 comments on commit 018677b

Please sign in to comment.