update inbox list
This commit is contained in:
8
vendor/scrivo/highlight.php/test/markup/coffeescript/division.expect.txt
vendored
Normal file
8
vendor/scrivo/highlight.php/test/markup/coffeescript/division.expect.txt
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
<span class="hljs-comment"># Divisions</span>
|
||||
x = <span class="hljs-number">6</span>/foo/i
|
||||
x = <span class="hljs-number">6</span> /foo
|
||||
x = <span class="hljs-number">6</span> / foo
|
||||
x = <span class="hljs-number">6</span> /foo * <span class="hljs-number">2</span>/gm
|
||||
x = f /foo
|
||||
x = f / foo / gm
|
||||
x = f /foo * <span class="hljs-number">2</span>/<span class="hljs-number">6</span>
|
||||
8
vendor/scrivo/highlight.php/test/markup/coffeescript/division.txt
vendored
Normal file
8
vendor/scrivo/highlight.php/test/markup/coffeescript/division.txt
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
# Divisions
|
||||
x = 6/foo/i
|
||||
x = 6 /foo
|
||||
x = 6 / foo
|
||||
x = 6 /foo * 2/gm
|
||||
x = f /foo
|
||||
x = f / foo / gm
|
||||
x = f /foo * 2/6
|
||||
2
vendor/scrivo/highlight.php/test/markup/coffeescript/freeze_bug.expect.txt
vendored
Normal file
2
vendor/scrivo/highlight.php/test/markup/coffeescript/freeze_bug.expect.txt
vendored
Normal file
File diff suppressed because one or more lines are too long
2
vendor/scrivo/highlight.php/test/markup/coffeescript/freeze_bug.txt
vendored
Normal file
2
vendor/scrivo/highlight.php/test/markup/coffeescript/freeze_bug.txt
vendored
Normal file
File diff suppressed because one or more lines are too long
14
vendor/scrivo/highlight.php/test/markup/coffeescript/function.expect.txt
vendored
Normal file
14
vendor/scrivo/highlight.php/test/markup/coffeescript/function.expect.txt
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<span class="hljs-function"><span class="hljs-title">returnNull</span> = -></span> <span class="hljs-literal">null</span>
|
||||
<span class="hljs-function"><span class="hljs-title">returnTrue</span> = <span class="hljs-params">()</span> -></span> <span class="hljs-literal">true</span>
|
||||
<span class="hljs-function"><span class="hljs-title">square</span> = <span class="hljs-params">(x)</span> -></span> x * x
|
||||
|
||||
npmWishlist.sha256 = <span class="hljs-function"><span class="hljs-params">(str)</span> -></span>
|
||||
<span class="hljs-keyword">throw</span> <span class="hljs-keyword">new</span> Error()
|
||||
|
||||
str.split(<span class="hljs-string">" "</span>).map(<span class="hljs-function"><span class="hljs-params">(m)</span> -></span> m.charCodeAt(<span class="hljs-number">0</span>))
|
||||
|
||||
fs.readFile(<span class="hljs-string">"package.json"</span>, <span class="hljs-string">"utf-8"</span>, <span class="hljs-function"><span class="hljs-params">(err, content)</span> -></span>
|
||||
data = JSON.parse(content)
|
||||
|
||||
data.version
|
||||
)
|
||||
14
vendor/scrivo/highlight.php/test/markup/coffeescript/function.txt
vendored
Normal file
14
vendor/scrivo/highlight.php/test/markup/coffeescript/function.txt
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
returnNull = -> null
|
||||
returnTrue = () -> true
|
||||
square = (x) -> x * x
|
||||
|
||||
npmWishlist.sha256 = (str) ->
|
||||
throw new Error()
|
||||
|
||||
str.split(" ").map((m) -> m.charCodeAt(0))
|
||||
|
||||
fs.readFile("package.json", "utf-8", (err, content) ->
|
||||
data = JSON.parse(content)
|
||||
|
||||
data.version
|
||||
)
|
||||
18
vendor/scrivo/highlight.php/test/markup/coffeescript/regex.expect.txt
vendored
Normal file
18
vendor/scrivo/highlight.php/test/markup/coffeescript/regex.expect.txt
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
<span class="hljs-comment"># Regexps</span>
|
||||
x = <span class="hljs-regexp">//</span>
|
||||
x = (<span class="hljs-regexp">//</span>)
|
||||
x = (<span class="hljs-regexp">/test/</span>)
|
||||
x = <span class="hljs-regexp">//mig</span>
|
||||
x = <span class="hljs-regexp">//gim</span>
|
||||
x = <span class="hljs-regexp">/something/gim</span>
|
||||
x = <span class="hljs-regexp">/\//</span>
|
||||
x = <span class="hljs-regexp">/\n/</span>
|
||||
x = <span class="hljs-regexp">/ab\/ ab/</span>
|
||||
x = f <span class="hljs-regexp">/6 * 2/</span> - <span class="hljs-number">3</span>
|
||||
x = f <span class="hljs-regexp">/foo * 2/gm</span>
|
||||
x = <span class="hljs-keyword">if</span> <span class="hljs-literal">true</span> <span class="hljs-keyword">then</span> <span class="hljs-regexp">/\n/</span> <span class="hljs-keyword">else</span> <span class="hljs-regexp">/[.,]+/</span>
|
||||
x = <span class="hljs-regexp">///^key-<span class="hljs-subst">#{key}</span>-\d+///</span>
|
||||
|
||||
<span class="hljs-comment"># not a Regexp</span>
|
||||
x = //test
|
||||
x = /boo/test
|
||||
18
vendor/scrivo/highlight.php/test/markup/coffeescript/regex.txt
vendored
Normal file
18
vendor/scrivo/highlight.php/test/markup/coffeescript/regex.txt
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
# Regexps
|
||||
x = //
|
||||
x = (//)
|
||||
x = (/test/)
|
||||
x = //mig
|
||||
x = //gim
|
||||
x = /something/gim
|
||||
x = /\//
|
||||
x = /\n/
|
||||
x = /ab\/ ab/
|
||||
x = f /6 * 2/ - 3
|
||||
x = f /foo * 2/gm
|
||||
x = if true then /\n/ else /[.,]+/
|
||||
x = ///^key-#{key}-\d+///
|
||||
|
||||
# not a Regexp
|
||||
x = //test
|
||||
x = /boo/test
|
||||
Reference in New Issue
Block a user