aboutsummaryrefslogtreecommitdiff
path: root/imports/codemirror/mode/coffeescript/index.html
diff options
context:
space:
mode:
authorValerio Virgillito2012-07-17 11:28:39 -0700
committerValerio Virgillito2012-07-17 11:28:39 -0700
commit4f737b24c19ddc02d20f9783b8b080fc6ef11142 (patch)
tree212d164c0f83d80394e34f1df532ea0461ad328d /imports/codemirror/mode/coffeescript/index.html
parent5146f224258929415adf4a8022e492454b4e2476 (diff)
parent0e04fff0ea80fa5cbe96b8354db38bd334aea83a (diff)
downloadninja-4f737b24c19ddc02d20f9783b8b080fc6ef11142.tar.gz
Merge pull request #396 from ananyasen/codemirror2.3-upgrade
upgrade to codemirror 2.3
Diffstat (limited to 'imports/codemirror/mode/coffeescript/index.html')
-rw-r--r--imports/codemirror/mode/coffeescript/index.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/imports/codemirror/mode/coffeescript/index.html b/imports/codemirror/mode/coffeescript/index.html
index 127c4bf9..98bd4971 100644
--- a/imports/codemirror/mode/coffeescript/index.html
+++ b/imports/codemirror/mode/coffeescript/index.html
@@ -46,12 +46,18 @@ root = this
46# Save the previous value of the `_` variable. 46# Save the previous value of the `_` variable.
47previousUnderscore = root._ 47previousUnderscore = root._
48 48
49### Multiline
50 comment
51###
49 52
50# Establish the object that gets thrown to break out of a loop iteration. 53# Establish the object that gets thrown to break out of a loop iteration.
51# `StopIteration` is SOP on Mozilla. 54# `StopIteration` is SOP on Mozilla.
52breaker = if typeof(StopIteration) is 'undefined' then '__break__' else StopIteration 55breaker = if typeof(StopIteration) is 'undefined' then '__break__' else StopIteration
53 56
54 57
58#### Docco style single line comment (title)
59
60
55# Helper function to escape **RegExp** contents, because JS doesn't have one. 61# Helper function to escape **RegExp** contents, because JS doesn't have one.
56escapeRegExp = (string) -> string.replace(/([.*+?^${}()|[\]\/\\])/g, '\\$1') 62escapeRegExp = (string) -> string.replace(/([.*+?^${}()|[\]\/\\])/g, '\\$1')
57 63