Merge "Don't build the CE tree and DOM for the internal list"

This commit is contained in:
jenkins-bot 2013-06-21 21:25:58 +00:00 committed by Gerrit Code Review
commit dcb0d04cc8

View file

@ -32,6 +32,15 @@ ve.ce.InternalListNode.static.name = 'internalList';
ve.ce.InternalListNode.static.tagName = 'span'; ve.ce.InternalListNode.static.tagName = 'span';
/* Methods */
/**
* Deliberately empty: don't build an entire CE tree with DOM elements for things that won't render
* @inheritdoc
*/
ve.ce.InternalListNode.prototype.onSplice = function () {
};
/* Registration */ /* Registration */
ve.ce.nodeFactory.register( ve.ce.InternalListNode ); ve.ce.nodeFactory.register( ve.ce.InternalListNode );