mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 09:26:37 +00:00
26a1d8986b
Change-Id: I2717300e6cc6102296a2b8d063d344fa5897c825
27 lines
546 B
JavaScript
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();
|