mediawiki-extensions-Visual.../modules/ve/dm/ve.dm.js
Catrope 819b3ded33 Move matching code from AnnotationFactory to ModelRegistry
ModelRegistry registers both annotations and nodes, and performs
matching on both at the same time. It also registers annotations with
the AnnotationFactory, and nodes with the NodeFactory.

Change-Id: I5e68e506a0e573cc0afe6304ccea058ffc20d1c8
2013-01-22 15:51:37 -08:00

19 lines
534 B
JavaScript

/*!
* VisualEditor DataModel namespace.
*
* @copyright 2011-2012 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/**
* Namespace for all VisualEditor DataModel classes, static methods and static properties.
* @class
* @singleton
*/
ve.dm = {
//'modelRegistry': Initialized in ve.dm.ModelRegistry.js
//'nodeFactory': Initialized in ve.dm.NodeFactory.js
//'annotationFactory': Initialized in ve.dm.AnnotationFactory.js
//'converter': Initialized in ve.dm.Converter.js
};