mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-02 01:46:47 +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
20 lines
310 B
JavaScript
20 lines
310 B
JavaScript
module( 've.ce.LeafNode' );
|
|
|
|
/* Stubs */
|
|
|
|
ve.ce.LeafNodeStub = function( model ) {
|
|
// Inheritance
|
|
ve.ce.LeafNode.call( this, model );
|
|
};
|
|
|
|
ve.extendClass( ve.ce.LeafNodeStub, ve.ce.LeafNode );
|
|
|
|
ve.ce.factory.register( 'leaf-stub', ve.ce.BranchNodeStub );
|
|
|
|
/* Tests */
|
|
|
|
/*
|
|
test( '', 1, function() {
|
|
//
|
|
} );
|
|
*/ |