mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-18 11:46:01 +00:00
162f1b4119
Change-Id: Ic6e3a336050a335c88ef41735c0f4e470c5b75b6
27 lines
576 B
JavaScript
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();
|