r103477 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r103476‎ | r103477 | r103478 >
Date:17:59, 17 November 2011
Author:tparscal
Status:ok
Tags:
Comment:
Commented out some console.log statements
Modified paths:
  • /trunk/extensions/VisualEditor/modules/es/models/es.DocumentModel.js (modified) (history)
  • /trunk/extensions/VisualEditor/modules/es/views/es.SurfaceView.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/es/models/es.DocumentModel.js
@@ -638,7 +638,7 @@
639639 * @param {Integer} Offset a given distance from the given offset
640640 */
641641 es.DocumentModel.prototype.getRelativeContentOffset = function( offset, distance ) {
642 - console.log(offset);
 642+ //console.log(offset);
643643 if ( distance === 0 ) {
644644 return offset;
645645 }
Index: trunk/extensions/VisualEditor/modules/es/views/es.SurfaceView.js
@@ -144,7 +144,7 @@
145145
146146 var offset = this.documentView.getOffsetFromEvent( e );
147147
148 - console.log('onMouseDown; offset: ' + offset);
 148+ //console.log('onMouseDown; offset: ' + offset);
149149
150150 if ( e.originalEvent.detail === 1 ) { // single click
151151 this.mouse.selectingMode = 1; // used in mouseMove handler
@@ -458,7 +458,7 @@
459459 * @param {String} unit char | word | line | node | page
460460 */
461461 es.SurfaceView.prototype.moveCursor = function( direction, unit ) {
462 - console.log('moveCursor; direction: ' + direction + ', unit: ' + unit);
 462+ //console.log('moveCursor; direction: ' + direction + ', unit: ' + unit);
463463
464464 if ( direction !== 'up' && direction !== 'down' ) {
465465 this.cursor.initialLeft = null;

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r103419Made it so <p>|</p> is not considered to be a structural offsettparscal23:57, 16 November 2011

Status & tagging log