mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 00:30:44 +00:00
74ed8e8766
Change-Id: Ibf6d4f08c4761727b2e3952a76e474c8221b38f9
27 lines
549 B
JavaScript
27 lines
549 B
JavaScript
/**
|
|
* VisualEditor data model AnnotationFactory class.
|
|
*
|
|
* @copyright 2011-2012 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/**
|
|
* DataModel annotation factory.
|
|
*
|
|
* @class
|
|
* @constructor
|
|
* @extends {ve.Factory}
|
|
*/
|
|
ve.dm.AnnotationFactory = function VeDmAnnotationFactory() {
|
|
// Parent constructor
|
|
ve.Factory.call( this );
|
|
};
|
|
|
|
/* Inheritance */
|
|
|
|
ve.inheritClass( ve.dm.AnnotationFactory, ve.Factory );
|
|
|
|
/* Initialization */
|
|
|
|
ve.dm.annotationFactory = new ve.dm.AnnotationFactory();
|