mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-15 10:59:56 +00:00
0999d771b6
Also make the overly-terse statement clearer. Change-Id: I752bb82444bf7cb41480076bace42331dc35a598
32 lines
800 B
JavaScript
32 lines
800 B
JavaScript
/*!
|
|
* VisualEditor UserInterface MWReferenceResultWidget class.
|
|
*
|
|
* @copyright 2011-2018 VisualEditor Team's Cite sub-team and others; see AUTHORS.txt
|
|
* @license The MIT License (MIT); see LICENSE.txt
|
|
*/
|
|
|
|
/**
|
|
* 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 );
|