r102025 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102024‎ | r102025 | r102026 >
Date:18:37, 4 November 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Comment cleanup
Modified paths:
  • /trunk/extensions/VisualEditor/modules/es/models/es.DocumentModel.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/es/models/es.DocumentModel.js
@@ -1031,8 +1031,6 @@
10321032 // So you can merge adjacent paragraphs, or listitems. And you can't merge a paragraph into
10331033 // a table row. There may be other rules we will want in here later, for instance, special
10341034 // casing merging a listitem into a paragraph.
1035 -
1036 - // wait, some nodes don't have types? Is this the top document node?
10371035 return (
10381036 ( ( node1 && node2 ) && ( node1.getElementType() === node2.getElementType() ) ) &&
10391037 ( node1.getParent() === node2.getParent() )

Status & tagging log