"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "resources/src/mediawiki.rcfilters/dm/mw.rcfilters.dm.FilterGroup.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.rcfilters.dm.FilterGroup.js  (mediawiki-1.31.1):mw.rcfilters.dm.FilterGroup.js  (mediawiki-1.32.0)
( function ( mw ) { /* eslint-disable no-restricted-properties */
( function () {
/** /**
* View model for a filter group * View model for a filter group
* *
* @mixins OO.EventEmitter * @mixins OO.EventEmitter
* @mixins OO.EmitterList * @mixins OO.EmitterList
* *
* @constructor * @constructor
* @param {string} name Group name * @param {string} name Group name
* @param {Object} [config] Configuration options * @param {Object} [config] Configuration options
* @cfg {string} [type='send_unselected_if_any'] Group type * @cfg {string} [type='send_unselected_if_any'] Group type
skipping to change at line 983 skipping to change at line 984
/** /**
* Set the visibility of the items under this group by the given items ar ray * Set the visibility of the items under this group by the given items ar ray
* *
* @param {mw.rcfilters.dm.ItemModel[]} visibleItems An array of visible items * @param {mw.rcfilters.dm.ItemModel[]} visibleItems An array of visible items
*/ */
mw.rcfilters.dm.FilterGroup.prototype.setVisibleItems = function ( visibl eItems ) { mw.rcfilters.dm.FilterGroup.prototype.setVisibleItems = function ( visibl eItems ) {
this.getItems().forEach( function ( itemModel ) { this.getItems().forEach( function ( itemModel ) {
itemModel.toggleVisible( visibleItems.indexOf( itemModel ) !== -1 ); itemModel.toggleVisible( visibleItems.indexOf( itemModel ) !== -1 );
} ); } );
}; };
}( mediaWiki ) ); }() );
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

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