mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 17:36:35 +00:00
9c967267e6
We weren't really using it exclusively for nodes any more, and the only functionality in there was for using .static.name Change-Id: Ie26928cd01faee95a10912201663b45f1f20fb19
28 lines
636 B
JavaScript
28 lines
636 B
JavaScript
/*!
|
|
* VisualEditor ContentEditable AnnotationFactory class.
|
|
*
|
|
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/**
|
|
* ContentEditable annotation factory.
|
|
*
|
|
* @class
|
|
* @extends ve.NamedClassFactory
|
|
* @constructor
|
|
*/
|
|
ve.ce.AnnotationFactory = function VeCeAnnotationFactory() {
|
|
// Parent constructor
|
|
ve.NamedClassFactory.call( this );
|
|
};
|
|
|
|
/* Inheritance */
|
|
|
|
ve.inheritClass( ve.ce.AnnotationFactory, ve.NamedClassFactory );
|
|
|
|
/* Initialization */
|
|
|
|
// TODO: Move instantiation to a different file
|
|
ve.ce.annotationFactory = new ve.ce.AnnotationFactory();
|