1
Fork 0

Fix tabSize doc build breakage, also remove the stray tab that got into docs.

This commit is contained in:
Graydon Hoare 2012-06-27 14:37:36 -07:00
parent c1157161d9
commit e2205659e3
2 changed files with 2 additions and 1 deletions

View file

@ -11,6 +11,7 @@ exports.splitLines = function(string){return string.split(/\r?\n/);};
// Counts the column offset in a string, taking tabs into account.
// Used mostly to find indentation.
function countColumn(string, end) {
tabSize = 4;
if (end == null) {
end = string.search(/[^\s\u00a0]/);
if (end == -1) end = string.length;