mediawiki-extensions-Visual.../tests/ve2/ce/ve.ce.LeafNode.test.js
Trevor Parscal fd28fff50f Added test for replaceDomWrapper and onSplice in ve.ce.BranchNode
* 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
2012-05-02 13:58:50 -07:00

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() {
//
} );
*/