wikimedia/mediawiki-extensions-MobileFrontend

View on GitHub
src/mobile.init/editorLoadingOverlay.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function editorLoadingOverlay has 61 lines of code (exceeds 25 allowed). Consider refactoring.
Open

module.exports = function editorLoadingOverlay( afterShow, afterHide, loadBasicEditor ) {
    let timeout;
    const
        $fakeToolbar = fakeToolbar(),
        $loadBasicWrapper = $( '<div>' ).addClass( 've-loadbasiceditor' ),
Severity: Major
Found in src/mobile.init/editorLoadingOverlay.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status