update index.html
This commit is contained in:
parent
efea2a755b
commit
ace5fd14a2
4 changed files with 59 additions and 36 deletions
|
|
@ -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};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue