w/resources/src/mediawiki/mediawiki.notification.js
/**
	 * Helper function, take a list of notification divs and call
	 * a function on the Notification instance attached to them.
	 *
	 * @private
	 * @static
	 * @param {jQuery} $notifications A jQuery object containing notification divs
	 * @param {string} fn The name of the function to call on the Notification instance
	 */
Helper function, take a list of notification divs and call
a function on the Notification instance attached to them.

@private
@static
@param {jQuery} $notifications A jQuery object containing notification divs
@param {string} fn The name of the function to call on the Notification instance
Helper function take a list of notification divs and call a function on the Notification instance attached to them . @private @static @param { jQuery } $notifications A jQuery object containing notification divs @param { string } fn The name of the function to call on the Notification instance
function callEachNotification( $notifications, fn ) {
		$notifications.each( function () {
			var notif = $( this ).data( 'mw.notification' );
			if ( notif ) {
				notif[ fn ]();
			}
		} );
	}
function callEachNotification ( $notifications , fn ) { $notifications . each ( function ( ) { var notif = $ ( this ) . data ( 'mw.notification' ) ; if ( notif ) { notif [ fn ] ( ) ; } } ) ; }
Helper function, take a list of notification divs and call
 a function on the Notification instance attached to them.
Helper function take a list of notification divs and call a function on the Notification instance attached to them .