mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-15 10:35:48 +00:00
Merge "Added ve.ce.FocusableNode mixin to ve.ce.MWReferenceListNode"
This commit is contained in:
commit
fedcf454a0
|
@ -22,6 +22,7 @@ ve.ce.MWReferenceListNode = function VeCeMWReferenceListNode( model, config ) {
|
|||
|
||||
// Mixin constructors
|
||||
ve.ce.ProtectedNode.call( this );
|
||||
ve.ce.FocusableNode.call( this );
|
||||
|
||||
// DOM Changes
|
||||
this.$.addClass( 've-ce-mwReferenceListNode', 'reference' )
|
||||
|
@ -43,6 +44,8 @@ ve.inheritClass( ve.ce.MWReferenceListNode, ve.ce.LeafNode );
|
|||
|
||||
ve.mixinClass( ve.ce.MWReferenceListNode, ve.ce.ProtectedNode );
|
||||
|
||||
ve.mixinClass( ve.ce.MWReferenceListNode, ve.ce.FocusableNode );
|
||||
|
||||
/* Static Properties */
|
||||
|
||||
ve.ce.MWReferenceListNode.static.name = 'mwReferenceList';
|
||||
|
|
Loading…
Reference in a new issue