mediawiki-extensions-Cite/modules/ve-cite/ve.ui.MWReferenceResultWidget.js
Thiemo Mättig bbc1f2c91d Use standard form for @license tags
See https://spdx.org/licenses/

Change-Id: Ic091ebc3844abcd6de90b3241382fb4732200a6d
2018-03-20 03:18:37 +00:00

32 lines
765 B
JavaScript

/*!
* VisualEditor UserInterface MWReferenceResultWidget class.
*
* @copyright 2011-2018 VisualEditor Team's Cite sub-team and others; see AUTHORS.txt
* @license MIT
*/
/**
* Creates an ve.ui.MWReferenceResultWidget object.
*
* @class
* @extends OO.ui.OptionWidget
*
* @constructor
* @param {Object} [config] Configuration options
*/
ve.ui.MWReferenceResultWidget = function VeUiMWReferenceResultWidget() {
// Parent constructor
ve.ui.MWReferenceResultWidget.super.apply( this, arguments );
// Initialization
this.$element
.addClass( 've-ui-mwReferenceResultWidget' )
.append(
$( '<div>' ).addClass( 've-ui-mwReferenceResultWidget-shield' )
);
};
/* Inheritance */
OO.inheritClass( ve.ui.MWReferenceResultWidget, OO.ui.OptionWidget );