mediawiki-extensions-Visual.../modules/ve/dm/ve.dm.AnnotationFactory.js
Catrope 162f1b4119 Convert AnnotationFactory and MetaItemFactory to NamedClassFactories
Change-Id: Ic6e3a336050a335c88ef41735c0f4e470c5b75b6
2013-04-09 12:05:05 -07:00

27 lines
576 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 ve.NamedClassFactory
* @constructor
*/
ve.dm.AnnotationFactory = function VeDmAnnotationFactory() {
// Parent constructor
ve.NamedClassFactory.call( this );
};
/* Inheritance */
ve.inheritClass( ve.dm.AnnotationFactory, ve.NamedClassFactory );
/* Initialization */
ve.dm.annotationFactory = new ve.dm.AnnotationFactory();