mediawiki-extensions-Visual.../modules/ve/dm/ve.dm.AnnotationFactory.js
Catrope 00a109b4a1 Add MetaList
A MetaList is a collection of MetaItems representing all of the
metadata in a ve.dm.Document, and it updates itself live as the
underlying document changes.

Currently this interface is read-only, I'll add mutators next.

Change-Id: If7bfc9563af37e22dcdca9a682d6decc2f6f1872
2013-03-15 15:03:10 -07:00

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();