2012-07-19 00:11:26 +00:00
|
|
|
/**
|
|
|
|
* VisualEditor data model AnnotationFactory class.
|
2012-07-19 21:25:16 +00:00
|
|
|
*
|
2012-07-19 00:11:26 +00:00
|
|
|
* @copyright 2011-2012 VisualEditor Team and others; see AUTHORS.txt
|
|
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
|
|
*/
|
|
|
|
|
2012-05-31 23:50:16 +00:00
|
|
|
/**
|
|
|
|
* DataModel annotation factory.
|
|
|
|
*
|
|
|
|
* @class
|
|
|
|
* @extends {ve.Factory}
|
|
|
|
* @constructor
|
|
|
|
*/
|
2012-08-07 01:50:44 +00:00
|
|
|
ve.dm.AnnotationFactory = function () {
|
2012-05-31 23:50:16 +00:00
|
|
|
// Inheritance
|
|
|
|
ve.Factory.call( this );
|
|
|
|
};
|
|
|
|
|
|
|
|
/* Inheritance */
|
|
|
|
|
|
|
|
ve.extendClass( ve.dm.AnnotationFactory, ve.Factory );
|
|
|
|
|
|
|
|
/* Initialization */
|
|
|
|
|
|
|
|
ve.dm.annotationFactory = new ve.dm.AnnotationFactory();
|