Merge "Return nothing from styleParsoidElements"

This commit is contained in:
jenkins-bot 2017-06-20 23:11:46 +00:00 committed by Gerrit Code Review
commit 87e1ede04a

View file

@ -107,10 +107,8 @@ ve.init.mw.LinkCache.prototype.styleElement = function ( title, $element, hasFra
* TODO: Most/all of this code should be done upstream, either by Parsoid itself or by an
* intermediary service see T64803 and others.
*
* @chainable
* @param {jQuery} $element Elements to style
* @param {HTMLDocument} doc Base document to use for normalisation
* @return {jQuery} The elements, now styled
*/
ve.init.mw.LinkCache.prototype.styleParsoidElements = function ( $elements, doc ) {
// TODO: Remove when fixed upstream in Parsoid (T58756)
@ -133,8 +131,6 @@ ve.init.mw.LinkCache.prototype.styleParsoidElements = function ( $elements, doc
ve.init.platform.linkCache.styleElement( title, $( this ) );
} );
}
return $elements;
};
/**