diff options
| author | Graydon Hoare <graydon@mozilla.com> | 2012-06-27 14:37:36 -0700 |
|---|---|---|
| committer | Graydon Hoare <graydon@mozilla.com> | 2012-06-27 14:37:43 -0700 |
| commit | e2205659e323b510686f594818e2f206e88e98f3 (patch) | |
| tree | c5eb15f14c9b37f451494f6c8f1882b47e8e4c5b /doc/lib/codemirror-node.js | |
| parent | c1157161d988a15156513dbe0f1f7895fb227606 (diff) | |
| download | rust-e2205659e323b510686f594818e2f206e88e98f3.tar.gz rust-e2205659e323b510686f594818e2f206e88e98f3.zip | |
Fix tabSize doc build breakage, also remove the stray tab that got into docs.
Diffstat (limited to 'doc/lib/codemirror-node.js')
| -rw-r--r-- | doc/lib/codemirror-node.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/lib/codemirror-node.js b/doc/lib/codemirror-node.js index fac4c076d48..428ff2e576c 100644 --- a/doc/lib/codemirror-node.js +++ b/doc/lib/codemirror-node.js @@ -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; |
