Showing 27 of 85 total issues
Avoid deeply nested control flow statements. Open
Open
if(typeof data.adaptivSize === "undefined"){data.adaptivSize={};}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
for(i=y;i<y+size[1];i++){
for(j=x;j<x+size[0];j++){
if(grid[i][j]){
g = false;
break;
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
for(x=gridSize[0];x>0;x--){
for(y=gridSize[0];y>0;y--){
fainder = base.findGridPlace([x,y],grid,false);
if(fainder){
size = [x,y];
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
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();
}
}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(typeof data === "undefined"){data={};}
- Create a ticketCreate a ticket
Avoid deeply nested control flow statements. Open
Open
if(g){
f = true;
break;
}
- Create a ticketCreate a ticket
Function makeTile
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
base.makeTile = function(e,setting,grid,gridscale,gridSize){
- Create a ticketCreate a ticket