var util = require('util');
var events = require('events');
var _ = require('underscore');

function Pull(data) {
   this.data = data || {};
}
module.exports = Pull;
util.inherits(Pull, events.EventEmitter);

Pull.prototype.setData = function (data) {
   this.data = data;
   this.emit('dataChanged');
}

Pull.prototype.toObject = function () {
   var data = this.data;
   var obj = _.extend({}, data);
   return obj;
}


@@ -99,24 +99,46 @@
 on Pull(data
+, comments, headCommit
 ) %7B%0A   this.
@@ -156,16 +156,78 @@
  %7C%7C %7B%7D;%0A
+   this.comments = comments;%0A   this.headCommit = headCommit;%0A
 %7D%0Amodule

Store comments and headCommit as pull-variables