From 94613589e023a831bbe7e07ed72879d7acdf2971 Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Mon, 14 May 2012 17:15:28 -0700 Subject: [PATCH] Removed more trailing whitespace in multi-line comment blocks Continues cleanup work done in e0de881a8a102155f8e4b0a1e5226e7adaeba80f Change-Id: I7165a8f8c4b468793d936fe695de92335c106271 --- modules/ve2/dm/ve.dm.DocumentFragment.js | 6 +++--- modules/ve2/dm/ve.dm.DocumentSynchronizer.js | 8 ++++---- tests/ve2/dm/ve.dm.example.js | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/modules/ve2/dm/ve.dm.DocumentFragment.js b/modules/ve2/dm/ve.dm.DocumentFragment.js index 0db228658e..1244f4409f 100644 --- a/modules/ve2/dm/ve.dm.DocumentFragment.js +++ b/modules/ve2/dm/ve.dm.DocumentFragment.js @@ -48,9 +48,9 @@ ve.dm.DocumentFragment = function( data, parentDocument ) { for ( var i = 0, length = this.data.length; i < length; i++ ) { /* * Set the node reference for this offset in the offset cache. - * + * * This looks simple, but there are three cases that result in the same thing: - * + * * 1. data[i] is an opening, so offset i is before the opening, so we need to point to the * parent of the opened element. currentNode will be set to the opened element later, * but right now its still set to the parent of the opened element. @@ -59,7 +59,7 @@ ve.dm.DocumentFragment = function( data, parentDocument ) { * but right now it's still set to the closed element. * 3. data[i] is content, so offset i is in the middle of an element, so obviously we need * currentNode, which won't be changed by this iteration. - * + * * We want to populate the offsetMap with branches only, but we've just written the actual * node that lives at this offset. So if it's a leaf node, change it to its parent. */ diff --git a/modules/ve2/dm/ve.dm.DocumentSynchronizer.js b/modules/ve2/dm/ve.dm.DocumentSynchronizer.js index 035880ad72..e41deeed4c 100644 --- a/modules/ve2/dm/ve.dm.DocumentSynchronizer.js +++ b/modules/ve2/dm/ve.dm.DocumentSynchronizer.js @@ -38,7 +38,7 @@ ve.dm.DocumentSynchronizer.synchronizers = { /** * Synchronizes an annotation action. - * + * * @static * @method * @param {Object} action @@ -54,7 +54,7 @@ ve.dm.DocumentSynchronizer.synchronizers = { }, /** * Synchronizes an attribute change action. - * + * * @static * @method * @param {Object} action @@ -65,7 +65,7 @@ ve.dm.DocumentSynchronizer.synchronizers = { }, /** * Synchronizes a resize action. - * + * * @static * @method * @param {Object} action @@ -76,7 +76,7 @@ ve.dm.DocumentSynchronizer.synchronizers = { }, /** * Synchronizes a rebuild action. - * + * * @static * @method * @param {Object} action diff --git a/tests/ve2/dm/ve.dm.example.js b/tests/ve2/dm/ve.dm.example.js index acd91e2059..7791af38e9 100644 --- a/tests/ve2/dm/ve.dm.example.js +++ b/tests/ve2/dm/ve.dm.example.js @@ -49,12 +49,12 @@ ve.dm.example.html = * There are three types of components in content data: * * {String} Plain text character - * + * * {Array} Annotated character * 0: {String} Character * 1: {Object} List of references to immutable annotation objects, keyed by JSON * serializations of their values (hashes) - * + * * {Object} Opening or closing structural element * type: {String} Symbolic node type name, if closing element first character will be "/" * [attributes]: {Object} List of symbolic attribute name and literal value pairs