/*! * VisualEditor Standalone Initialization Target class. * * @copyright 2011-2013 VisualEditor Team and others; see AUTHORS.txt * @license The MIT License (MIT); see LICENSE.txt */ /** * Initialization Standalone target. * * @example * new ve.init.sa.Target( * $( '
Hello world.
' ) * ); * * @class * @extends ve.init.Target * * @constructor * @param {jQuery} $container Container to render target into * @param {ve.dm.Document} doc Document model */ ve.init.sa.Target = function VeInitSaTarget( $container, doc ) { // Parent constructor ve.init.Target.call( this, $container ); // Properties this.surface = new ve.Surface( this, doc ); // Initialization this.setupToolbarFloating(); }; /* Inheritance */ ve.inheritClass( ve.init.sa.Target, ve.init.Target );