mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 08:34:54 +00:00
29 lines
668 B
JavaScript
29 lines
668 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.NodeFactory
|
||
|
* @constructor
|
||
|
*/
|
||
|
ve.ce.AnnotationFactory = function VeCeAnnotationFactory() {
|
||
|
// Parent constructor
|
||
|
// FIXME give ve.NodeFactory a more generic name
|
||
|
ve.NodeFactory.call( this );
|
||
|
};
|
||
|
|
||
|
/* Inheritance */
|
||
|
|
||
|
ve.inheritClass( ve.ce.AnnotationFactory, ve.NodeFactory );
|
||
|
|
||
|
/* Initialization */
|
||
|
|
||
|
// TODO: Move instantiation to a different file
|
||
|
ve.ce.annotationFactory = new ve.ce.AnnotationFactory();
|