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

9 lines
192 B
JavaScript

/**
* VisualEditor DataModel namespace.
*
* All classes and functions will be attached to this object to keep the global namespace clean.
*/
ve.dm = {
'factory': new ve.NodeFactory()
};