From 5cc93b288f781fe65cea0b3e7ba7def89d87a2a3 Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Thu, 17 Jan 2013 14:21:34 -0800 Subject: [PATCH] Convert "var\t" to "var " Partially reverts I45ee3fd5b2131131f3d10e05a1cc2f32a3e091cc (I read the diff backwards) Change-Id: I5a638b8d13ed27a78586ff5507a421d7c49c9679 --- modules/ve/actions/ve.FormatAction.js | 2 +- modules/ve/ce/nodes/ve.ce.AlienNode.js | 4 ++-- modules/ve/dm/annotations/ve.dm.MWInternalLinkAnnotation.js | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/ve/actions/ve.FormatAction.js b/modules/ve/actions/ve.FormatAction.js index ca7c44518e..ef977c9b0d 100644 --- a/modules/ve/actions/ve.FormatAction.js +++ b/modules/ve/actions/ve.FormatAction.js @@ -108,7 +108,7 @@ ve.FormatAction.prototype.convert = function ( type, attributes ) { * @param {ve.Range} selection */ ve.FormatAction.splitAndUnwrap = function ( model, list, firstItem, lastItem, selection ) { - var doc = model.getDocument(), + var doc = model.getDocument(), start = firstItem.getOuterRange().start, end = lastItem.getOuterRange().end, tx; diff --git a/modules/ve/ce/nodes/ve.ce.AlienNode.js b/modules/ve/ce/nodes/ve.ce.AlienNode.js index 3dd331d681..8fc57d6a4c 100644 --- a/modules/ve/ce/nodes/ve.ce.AlienNode.js +++ b/modules/ve/ce/nodes/ve.ce.AlienNode.js @@ -56,12 +56,12 @@ ve.ce.AlienNode.rules = { * @param {jQuery.Event} e */ ve.ce.AlienNode.prototype.onMouseEnter = function () { - var $phantoms = $( [] ), + var $phantoms = $( [] ), $phantomTemplate = ve.ce.Surface.static.$phantomTemplate, surface = this.root.getSurface(); this.$.find( '.ve-ce-node-shield' ).each( function () { - var $shield = $( this ), + var $shield = $( this ), offset = $shield.offset(); $phantoms = $phantoms.add( $phantomTemplate.clone().css( { diff --git a/modules/ve/dm/annotations/ve.dm.MWInternalLinkAnnotation.js b/modules/ve/dm/annotations/ve.dm.MWInternalLinkAnnotation.js index fd3c9b660c..1d309b1558 100644 --- a/modules/ve/dm/annotations/ve.dm.MWInternalLinkAnnotation.js +++ b/modules/ve/dm/annotations/ve.dm.MWInternalLinkAnnotation.js @@ -71,7 +71,7 @@ ve.dm.MWInternalLinkAnnotation.prototype.getAnnotationData = function ( element * @returns {Object} HTML element information, including tag and attributes properties */ ve.dm.MWInternalLinkAnnotation.prototype.toHTML = function () { - var href, + var href, parentResult = ve.dm.LinkAnnotation.prototype.toHTML.call( this ); if ( this.data.origTitle &&