Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var Persistence = module.exports = function () {
EventEmitter.apply(this, arguments);
this.name = _.uniqueId('c');
this.on('create', this.onCreate.bind(this));
this.on('update', this.onUpdate.bind(this));
this.on('delete', this.onDelete.bind(this));
this.on('read', this.onRead.bind(this));
};