Skip to content

Commit

Permalink
Be specific, avoid variable name conflict.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ariya Hidayat committed Oct 8, 2013
1 parent 4461e96 commit fba6991
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cssbeautify.js
Expand Up @@ -89,13 +89,13 @@
}

function closeBlock() {
var ch;
var last;
depth -= 1;
formatted = trimRight(formatted);

if (formatted.length > 0 && autosemicolon) {
ch = formatted.charAt(formatted.length - 1);
if (ch !== ';' && ch !== '{') {
last = formatted.charAt(formatted.length - 1);
if (last !== ';' && last !== '{') {
formatted += ';';
}
}
Expand Down

0 comments on commit fba6991

Please sign in to comment.