diff --git a/lib/rules_block/state_block.js b/lib/rules_block/state_block.js index f08bdb2..774037b 100644 --- a/lib/rules_block/state_block.js +++ b/lib/rules_block/state_block.js @@ -7,7 +7,7 @@ var isSpace = require('../common/utils').isSpace; function StateBlock(src, md, env, tokens) { - var ch, s, start, pos, len, indent, offset, indent_found; + var ch, s, start, pos, len, indent, offset, indentFound; this.src = src; @@ -44,12 +44,12 @@ function StateBlock(src, md, env, tokens) { // Create caches // Generate markers. s = this.src; - indent_found = false; + indentFound = false; for (start = pos = indent = offset = 0, len = s.length; pos < len; pos++) { ch = s.charCodeAt(pos); - if (!indent_found) { + if (!indentFound) { if (isSpace(ch)) { indent++; @@ -60,7 +60,7 @@ function StateBlock(src, md, env, tokens) { } continue; } else { - indent_found = true; + indentFound = true; } } @@ -71,7 +71,7 @@ function StateBlock(src, md, env, tokens) { this.tShift.push(indent); this.sCount.push(offset); - indent_found = false; + indentFound = false; indent = 0; offset = 0; start = pos + 1;