mediawiki-extensions-Visual.../tests/ve2/ve.LeafNode.test.js
Trevor Parscal 2cee2adb6d Split node factory into dm specific implementation
* Added support for asking if a given node type can have children or grandchildren and what types of nodes can be it's parent or child
* Removed canHaveChildren methods from leaf and branch nodes and converted use of them to depend on factory to read static rules from constructor lookup by type

Change-Id: I9769f95647066576416bacb791c4b68dd0285b35
2012-04-30 15:42:36 -07:00

13 lines
178 B
JavaScript

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