mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-16 02:51:50 +00:00
29 lines
577 B
JavaScript
29 lines
577 B
JavaScript
|
/*!
|
||
|
* VisualEditor Initialization Target class.
|
||
|
*
|
||
|
* @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt
|
||
|
* @license The MIT License (MIT); see LICENSE.txt
|
||
|
*/
|
||
|
|
||
|
/**
|
||
|
* Generic Initialization target.
|
||
|
*
|
||
|
* @class
|
||
|
* @abstract
|
||
|
* @extends ve.EventEmitter
|
||
|
*
|
||
|
* @constructor
|
||
|
* @param {jQuery} $container Conainter to render target into
|
||
|
*/
|
||
|
ve.init.Target = function VeInitTarget( $container ) {
|
||
|
// Parent constructor
|
||
|
ve.EventEmitter.call( this );
|
||
|
|
||
|
// Properties
|
||
|
this.$ = $container;
|
||
|
};
|
||
|
|
||
|
/* Inheritance */
|
||
|
|
||
|
ve.inheritClass( ve.init.Target, ve.EventEmitter );
|