diff options
author | Jon Reid | 2012-07-17 16:03:14 -0700 |
---|---|---|
committer | Jon Reid | 2012-07-17 16:03:14 -0700 |
commit | 42a51e0c27f2e2cd825d07b3af5ec05b0e5208b3 (patch) | |
tree | 67deeb8c5b34aacc91f737cc64a3bc9ef1f4f05f /imports/codemirror/mode/coffeescript/index.html | |
parent | a12cabc16273ffe04af4bce1f7438dc9326efa89 (diff) | |
parent | b4b3e45d6684e77d361b4f8ca5be4889428320c5 (diff) | |
download | ninja-42a51e0c27f2e2cd825d07b3af5ec05b0e5208b3.tar.gz |
Merge remote-tracking branch 'ninja-jduran/TimelineUber' into timeline-local
Diffstat (limited to 'imports/codemirror/mode/coffeescript/index.html')
-rw-r--r-- | imports/codemirror/mode/coffeescript/index.html | 6 |
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. |
47 | previousUnderscore = root._ | 47 | previousUnderscore = 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. |
52 | breaker = if typeof(StopIteration) is 'undefined' then '__break__' else StopIteration | 55 | breaker = 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. |
56 | escapeRegExp = (string) -> string.replace(/([.*+?^${}()|[\]\/\\])/g, '\\$1') | 62 | escapeRegExp = (string) -> string.replace(/([.*+?^${}()|[\]\/\\])/g, '\\$1') |
57 | 63 | ||