mediawiki-extensions-Cite/modules/ve-cite/ve.ui.MWReferenceResultWidget.js

29 lines
685 B
JavaScript
Raw Normal View History

'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' );
};
/* Inheritance */
OO.inheritClass( ve.ui.MWReferenceResultWidget, OO.ui.OptionWidget );