Current File : /home/jvzmxxx/wiki1/extensions/MobileFrontend/resources/mobile.messageBox/MessageBox.js
( function ( M ) {
	var View = M.require( 'mobile.startup/View' );

	/**
	 * @class MessageBox
	 * @extends View
	 */
	function MessageBox() {
		View.apply( this, arguments );
	}

	OO.mfExtend( MessageBox, View, {
		/** @inheritdoc */
		isTemplateMode: true,
		/**
		 * @cfg {Object} defaults Default options hash.
		 * @cfg {string} [defaults.heading] heading to show along with message (text)
		 * @cfg {string} defaults.msg message to show (html)
		 * @cfg {string} defaults.className either errorbox, warningbox or successbox
		 */
		defaults: {},
		template: mw.template.get( 'mobile.messageBox', 'MessageBox.hogan' )
	} );

	M.define( 'mobile.messageBox/MessageBox', MessageBox );
}( mw.mobileFrontend ) );