-( function ( mw ) {
+( function () {
/**
* List of changes
*
* Map a reason for having no results to its message key
*
* @param {string} reason One of the NO_RESULTS_* "constant" that represent
- * a reason for having no results
+ * a reason for having no results
* @return {string} Key for the message that explains why there is no results in this case
*/
mw.rcfilters.ui.ChangesListWrapperWidget.prototype.getMsgKeyForNoResults = function ( reason ) {
$firstNew.after( $indicator );
}
+ // FIXME: Use CSS transition
+ // eslint-disable-next-line jquery/no-fade
$newChanges
.hide()
.fadeIn( 1000 );
// Turn off highlights
this.$element.removeClass( 'mw-rcfilters-ui-changesListWrapperWidget-highlighted' );
};
-}( mediaWiki ) );
+}() );