mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/VisualEditor
synced 2024-11-29 16:44:51 +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 );
|