diff --git a/lib/mergely.js b/lib/mergely.js index 6f6a2bc..a4f0756 100644 --- a/lib/mergely.js +++ b/lib/mergely.js @@ -492,7 +492,6 @@ jQuery.extend(Mgly.mergely.prototype, { this._changing(this.id + '-lhs', this.id + '-rhs'); }, unmarkup: function() { - console.log('UNMARKUP'); this._clear(); }, scrollTo: function(side, num) { @@ -1129,20 +1128,17 @@ jQuery.extend(Mgly.mergely.prototype, { oside = 'rhs'; } var pos = ed[side].coordsChar({left:ev.pageX, top:ev.pageY}); - console.log('pos', side, pos); // get the change id var cid = null; var info = ed[side].lineInfo(pos.line); jQuery.each(info.bgClass.split(' '), function(i, clazz) { - console.log('clazz', i, clazz); if (clazz.indexOf('cid-') == 0) { cid = parseInt(clazz.split('-')[1]); return false; } }); var change = self.changes[cid]; - console.log('change', change); var line = {lhs: ed['lhs'].lineInfo(change['lhs-line-to']), rhs: ed['rhs'].lineInfo(change['rhs-line-to'])}; var text = ed[side].getRange(