diff options
author | Valerio Virgillito | 2012-05-03 23:01:31 -0700 |
---|---|---|
committer | Valerio Virgillito | 2012-05-03 23:01:31 -0700 |
commit | 60388a7d01d9e34b5cd15bd5cb190a610e4f9a0e (patch) | |
tree | 9bfa4cc0fdb3a39abf151c05d013f2cde7aad296 /imports/codemirror/lib/util/foldcode.js | |
parent | dca94d9d1e2a6a113356b685df991472ea3e5576 (diff) | |
parent | fec9ccee11ea21ffc95edce6e89d0d302b63e3d8 (diff) | |
download | ninja-60388a7d01d9e34b5cd15bd5cb190a610e4f9a0e.tar.gz |
Merge branch 'refs/heads/master' into tag-2.0
Diffstat (limited to 'imports/codemirror/lib/util/foldcode.js')
-rw-r--r-- | imports/codemirror/lib/util/foldcode.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/imports/codemirror/lib/util/foldcode.js b/imports/codemirror/lib/util/foldcode.js index 50268a8b..b700d860 100644 --- a/imports/codemirror/lib/util/foldcode.js +++ b/imports/codemirror/lib/util/foldcode.js | |||
@@ -80,7 +80,7 @@ CodeMirror.tagRangeFinder = function(cm, line) { | |||
80 | } | 80 | } |
81 | 81 | ||
82 | if (found) { | 82 | if (found) { |
83 | var startTag = "(\\<\\/" + tag + "\\>)|(\\<" + tag + "\\>)|(\\<" + tag + "\s)|(\\<" + tag + "$)"; | 83 | var startTag = "(\\<\\/" + tag + "\\>)|(\\<" + tag + "\\>)|(\\<" + tag + "\\s)|(\\<" + tag + "$)"; |
84 | var startTagRegExp = new RegExp(startTag, "g"); | 84 | var startTagRegExp = new RegExp(startTag, "g"); |
85 | var endTag = "</" + tag + ">"; | 85 | var endTag = "</" + tag + ">"; |
86 | var depth = 1; | 86 | var depth = 1; |