r105369 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r105368‎ | r105369 | r105370 >
Date:22:14, 6 December 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Disabled console logging
Modified paths:
  • /trunk/extensions/VisualEditor/modules/es/models/es.SurfaceModel.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/es/models/es.SurfaceModel.js
@@ -22,8 +22,8 @@
2323 this.lengthDifferenceLimit = 24;
2424
2525 // DEBUG don't commit
26 - var _this = this;
27 - this.addListener( 'transact', function() { console.log( _this.history ); } );
 26+ //var _this = this;
 27+ //this.addListener( 'transact', function() { console.log( _this.history ); } );
2828 };
2929
3030 /* Methods */
@@ -100,8 +100,8 @@
101101 * (such as when replacing - delete, then insert)
102102 */
103103 es.SurfaceModel.prototype.transact = function( transaction, isPartial ) {
104 - console.log( 'tx:' + $.map( transaction.getOperations(), function(tx) { return tx.type; } ).join(",")
105 - + ' isPartial:' + isPartial );
 104+ // console.log( 'tx:' + $.map( transaction.getOperations(), function(tx) { return tx.type; } ).join(",")
 105+ // + ' isPartial:' + isPartial );
106106 this.doc.commit( transaction );
107107
108108 // if we have changed the kind of operation (delete -> insert or insert -> delete or annotations )

Status & tagging log