about summary refs log tree commit diff
path: root/doc/lib/codemirror-node.js
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2012-06-27 14:37:36 -0700
committerGraydon Hoare <graydon@mozilla.com>2012-06-27 14:37:43 -0700
commite2205659e323b510686f594818e2f206e88e98f3 (patch)
treec5eb15f14c9b37f451494f6c8f1882b47e8e4c5b /doc/lib/codemirror-node.js
parentc1157161d988a15156513dbe0f1f7895fb227606 (diff)
downloadrust-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.js1
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;