mediawiki-extensions-Visual.../modules/ve2/dm/ve.dm.AnnotationFactory.js
Trevor Parscal 042ffb4e3b Added foundation for new converter
* Added converters to all relevant node implementations
* Added new annotation objects with their own factory

Change-Id: I9870d6d5eac45083929d74d2e58917d0939ca917
2012-05-31 16:50:16 -07:00

20 lines
334 B
JavaScript

/**
* DataModel annotation factory.
*
* @class
* @extends {ve.Factory}
* @constructor
*/
ve.dm.AnnotationFactory = function() {
// Inheritance
ve.Factory.call( this );
};
/* Inheritance */
ve.extendClass( ve.dm.AnnotationFactory, ve.Factory );
/* Initialization */
ve.dm.annotationFactory = new ve.dm.AnnotationFactory();