mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-30 17:54:20 +00:00
73c90a0e7d
Some of the annotations were used in a way that confused jsdoc. This cleans up redundant annotations and uses more canonical tags. These changes cause all classes to now appear in the generated pages. Includes linking to external docs. Bug: T358641 Change-Id: Iaee1dadcc19a70c27839d0d27dfa6a07a70fb46b
32 lines
767 B
JavaScript
32 lines
767 B
JavaScript
'use strict';
|
|
|
|
/*!
|
|
* 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.
|
|
*
|
|
* @constructor
|
|
* @extends OO.ui.OptionWidget
|
|
* @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 );
|