update index.html

This commit is contained in:
nightwing 2014-05-05 13:07:10 +04:00
commit ace5fd14a2
4 changed files with 59 additions and 36 deletions

View file

@ -86,9 +86,8 @@ exports.$detectIndentation = function(lines, fallback) {
} else
var score = getScore(i) / spaceIndents;
if (changes[i]) {
if (changes[i])
score += changes[i] / changesTotal;
}
if (score > first.score)
first = {score: score, length: i};