mediawiki-extensions-Visual.../tests/ve2/dm/ve.dm.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

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 */