resources/src/mediawiki.notification/notification.js
Function Notification
has 59 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function Notification( message, options ) {
var $notification, $notificationContent;
$notification = $( '<div>' )
.data( 'mw-notification', this )
File notification.js
has 262 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
( function () {
'use strict';
var notification,
// The .mw-notification-area div that all notifications are contained inside.
Function init
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init() {
var offset, $overlay,
isFloating = false;
function updateAreaMode() {
Function start
has 41 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
Notification.prototype.start = function () {
var options, $notification, $tagMatches, autohideCount;
$area.css( 'display', '' );