mediawiki-extensions-Visual.../tests/ve2/dm/ve.dm.LeafNode.test.js
Trevor Parscal 3d6391419d Added more nodes and removed canHave[Grandc|C]hildren methods
Replacing them with static members on each node type

Change-Id: I455debf880bef4e280eea072364f5f57308ec2b1
2012-04-20 16:34:47 -07:00

13 lines
201 B
JavaScript

module( 've.dm.LeafNode' );
/* Stubs */
ve.dm.LeafNodeStub = function() {
// Inheritance
ve.dm.LeafNode.call( this, 'stub' );
};
ve.extendClass( ve.dm.LeafNodeStub, ve.dm.LeafNode );
/* Tests */