floriancapelle/jquery-flex-modal

View on GitHub

Showing 2 of 2 total issues

Function add has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        add: function( modalId, options ) {
            modalId = modalId || '';
            modalId = sanitizeId(modalId);
            if ( $.isFunction(options) ) {
                options = {
Severity: Minor
Found in jquery.flex-modal.js - About 1 hr to fix

    Function open has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            open: function( modalId ) {
                modalId = modalId || '';
                modalId = sanitizeId(modalId);
    
                var self = this;
    Severity: Minor
    Found in jquery.flex-modal.js - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language