mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 17:36:35 +00:00
fd28fff50f
* Also fixed calls to addListenerMethod * Also routed adding children in the constructor of ve.dm.BranchNode to the splice method * Renamed types of ve.dm stub nodes to avoid collisions (since we have to register ce nodes by the same names for them to be generated by onSplice) Change-Id: Ia2e75cf0a62186cc0e214683feb25c619590318a
13 lines
206 B
JavaScript
13 lines
206 B
JavaScript
module( 've.dm.LeafNode' );
|
|
|
|
/* Stubs */
|
|
|
|
ve.dm.LeafNodeStub = function() {
|
|
// Inheritance
|
|
ve.dm.LeafNode.call( this, 'leaf-stub' );
|
|
};
|
|
|
|
ve.extendClass( ve.dm.LeafNodeStub, ve.dm.LeafNode );
|
|
|
|
/* Tests */
|