mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-12-01 17:36:35 +00:00
27 lines
475 B
JavaScript
27 lines
475 B
JavaScript
|
/**
|
||
|
* 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();
|