comment.ts 403 B

1234567891011121314151617
  1. import util from 'util';
  2. const events = require('events');
  3. function CommentEvent(crowi) {
  4. this.crowi = crowi;
  5. events.EventEmitter.call(this);
  6. }
  7. util.inherits(CommentEvent, events.EventEmitter);
  8. CommentEvent.prototype.onCreate = function(comment) {};
  9. CommentEvent.prototype.onUpdate = function(comment) {};
  10. CommentEvent.prototype.onDelete = function(comment) {};
  11. module.exports = CommentEvent;