mediawiki-extensions-Visual.../modules/ve/ui/ve.ui.DialogFactory.js
Trevor Parscal 61ddfb76e4 Make ve.Factory require static name property
Objective:
* Make ve.Factory behave like ve.NamedClassFactory
* Remove the only remaining use of ve.Factory (actions)
* Remove ve.NamedClassFactory

Change-Id: Ie302ef5ea31081de7ab0db6091058a59946aef4c
2013-10-03 14:52:19 -07:00

27 lines
526 B
JavaScript

/*!
* VisualEditor UserInterface DialogFactory class.
*
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/**
* UserInterface Dialog factory.
*
* @class
* @extends ve.Factory
* @constructor
*/
ve.ui.DialogFactory = function VeUiDialogFactory() {
// Parent constructor
ve.Factory.call( this );
};
/* Inheritance */
ve.inheritClass( ve.ui.DialogFactory, ve.Factory );
/* Initialization */
ve.ui.dialogFactory = new ve.ui.DialogFactory();