mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
61ddfb76e4
Objective: * Make ve.Factory behave like ve.NamedClassFactory * Remove the only remaining use of ve.Factory (actions) * Remove ve.NamedClassFactory Change-Id: Ie302ef5ea31081de7ab0db6091058a59946aef4c
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 ve.Factory
|
|
* @constructor
|
|
*/
|
|
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();
|