mediawiki-extensions-Visual.../modules/ve/dm/ve.dm.AnnotationFactory.js
Trevor Parscal 26a1d8986b Remove ve.Factory and ve.Registry and use oojs instead
Change-Id: I2717300e6cc6102296a2b8d063d344fa5897c825
2013-10-22 19:15:18 +00:00

27 lines
546 B
JavaScript

/*!
* VisualEditor DataModel AnnotationFactory class.
*
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/**
* DataModel annotation factory.
*
* @class
* @extends OO.Factory
* @constructor
*/
ve.dm.AnnotationFactory = function VeDmAnnotationFactory() {
// Parent constructor
OO.Factory.call( this );
};
/* Inheritance */
OO.inheritClass( ve.dm.AnnotationFactory, OO.Factory );
/* Initialization */
ve.dm.annotationFactory = new ve.dm.AnnotationFactory();