CrazySquirrel/CSShare

View on GitHub

Showing 27 of 85 total issues

Avoid deeply nested control flow statements.
Open

                                if(typeof data.adaptivMedia === "undefined"){data.adaptivMedia={};}
Severity: Major
Found in js/jquery.CSTiles-1.1.0.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                            }else if(typeof data !== "undefined" && typeof data[i] !== "undefined"){
                                for(j in data[i]){
                                    if(
                                        data[i].hasOwnProperty(j) &&
                                        base.settings.adaptivMedia.hasOwnProperty(j)
Severity: Major
Found in js/jquery.CSTiles-1.1.0.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                            if(optionSize[1]*1 && optionSize[1]*1 > 0){
                                size[1] = optionSize[1]*1;
                            }else{
                                size[1] = defaultSize[1];
                            }
Severity: Major
Found in js/jquery.CSTiles-1.1.0.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                                if(typeof data === "undefined"){data={};}
Severity: Major
Found in js/jquery.CSTiles-1.1.0.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                            if(z.length>1){
                                for(k=1;k<z.length;k++){
                                    z[k] = z[k].slice(0,1).toUpperCase() + z[k].slice(1).toLowerCase();
                                }
                            }
Severity: Major
Found in js/jquery.CSTiles-1.1.0.js - About 45 mins to fix

Avoid deeply nested control flow statements.
Open

                                if(typeof data === "undefined"){data={};}
Severity: Major
Found in js/jquery.CSTiles-1.1.0.js - About 45 mins to fix

Function makeTile has 5 arguments (exceeds 4 allowed). Consider refactoring.
Open

        base.makeTile = function(e,setting,grid,gridscale,gridSize){
Severity: Minor
Found in js/jquery.CSTiles-1.1.0.js - About 35 mins to fix
Severity
Category
Status
Source
Language