build: Enable jscs jsDoc rule 'requireNewlineAfterDescription' and make pass
[lhc/web/wiklou.git] / resources / src / mediawiki / mediawiki.notification.js
index 004e710..f361ec8 100644 (file)
                $notifications.each( function () {
                        var notif = $( this ).data( 'mw.notification' );
                        if ( notif ) {
-                               notif[fn]();
+                               notif[ fn ]();
                        }
                } );
        }
        /**
         * Initialisation.
         * Must only be called once, and not before the document is ready.
+        *
         * @ignore
         */
        function init() {
                /**
                 * Pause auto-hide timers for all notifications.
                 * Notifications will not auto-hide until resume is called.
+                *
                 * @see mw.Notification#pause
                 */
                pause: function () {