Refactor again

Another refactor again.
master
lostheaven92 2016-10-17 20:12:25 +01:00
parent 9aaccf79f8
commit e3dd714ecf
1 changed files with 6 additions and 6 deletions

View File

@ -76,8 +76,7 @@
}
function cleanBoard(){
$("input.with-value").val('')
$("input.with-value").removeClass('with-value');
$("input.with-value").val('').removeClass('with-value');
$("input:disabled.initial").removeAttr("disabled").val('')
}
@ -110,13 +109,14 @@
var $colCollection = $('input[data-column='+column+']');
// Se a linha ou a coluna estiverem preenchidas, faz animação
if(isFullRow($rowCollection))
if(isFullRow($rowCollection)){
// animate($rowCollection);
;
console.log("Row full");
}
if(isFullCol($colCollection))
if(isFullCol($colCollection)){
// animate($colCollection);
;
}
// TODO: Verificar se o quadrante está completo para mostrar animação
// isFullQuadrant();