r101736 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r101735‎ | r101736 | r101737 >
Date:23:01, 2 November 2011
Author:tparscal
Status:deferred
Tags:
Comment:
Removed using custom elements for heading views, just using divs now - if we have to switch the level we don't want to have to trash the whole thing and rebuild it
Modified paths:
  • /trunk/extensions/VisualEditor/modules/es/views/es.HeadingView.js (modified) (history)

Diff [purge]

Index: trunk/extensions/VisualEditor/modules/es/views/es.HeadingView.js
@@ -8,7 +8,7 @@
99 */
1010 es.HeadingView = function( model ) {
1111 // Inheritance
12 - es.DocumentViewLeafNode.call( this, model, $( '<h' + model.getElementAttribute( 'level' ) + '>') );
 12+ es.DocumentViewLeafNode.call( this, model );
1313
1414 // DOM Changes
1515 this.$.addClass( 'es-headingView' );

Status & tagging log