"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "resources/src/mediawiki.widgets/MediaSearch/mw.widgets.MediaResultWidget.js" between
mediawiki-1.31.1.tar.gz and mediawiki-1.32.0.tar.gz

About: MediaWiki is a wiki engine (the collaborative editing software that runs for e.g. Wikipedia, the free encyclopedia).

mw.widgets.MediaResultWidget.js  (mediawiki-1.31.1):mw.widgets.MediaResultWidget.js  (mediawiki-1.32.0)
/*! /*!
* MediaWiki Widgets - MediaResultWidget class. * MediaWiki Widgets - MediaResultWidget class.
* *
* @copyright 2011-2016 VisualEditor Team and others; see AUTHORS.txt * @copyright 2011-2016 VisualEditor Team and others; see AUTHORS.txt
* @license The MIT License (MIT); see LICENSE.txt * @license The MIT License (MIT); see LICENSE.txt
*/ */
( function ( $, mw ) { ( function () {
/** /**
* Creates an mw.widgets.MediaResultWidget object. * Creates an mw.widgets.MediaResultWidget object.
* *
* @class * @class
* @extends OO.ui.OptionWidget * @extends OO.ui.OptionWidget
* *
* @constructor * @constructor
* @param {Object} [config] Configuration options * @param {Object} [config] Configuration options
* @cfg {number} [rowHeight] Height of the row this result is part of * @cfg {number} [rowHeight] Height of the row this result is part of
skipping to change at line 274 skipping to change at line 274
}; };
/** /**
* Check if the image has a src attribute already * Check if the image has a src attribute already
* *
* @return {boolean} Thumbnail has its source attribute set * @return {boolean} Thumbnail has its source attribute set
*/ */
mw.widgets.MediaResultWidget.prototype.hasSrc = function () { mw.widgets.MediaResultWidget.prototype.hasSrc = function () {
return !!this.src; return !!this.src;
}; };
}( jQuery, mediaWiki ) ); }() );
 End of changes. 2 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)