mediawiki-extensions-Visual.../modules/ve/ui/ve.ui.ToolFactory.js

27 lines
475 B
JavaScript
Raw Normal View History

/**
* VisualEditor ToolFactory class.
*
* @copyright 2011-2012 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt
*/
/**
* Tool factory.
*
* @class
* @constructor
* @extends {ve.Factory}
*/
ve.ToolFactory = function VeToolFactory() {
// Parent constructor
ve.Factory.call( this );
};
/* Inheritance */
ve.inheritClass( ve.ToolFactory, ve.Factory );
/* Initialization */
ve.ui.toolFactory = new ve.ToolFactory();