diff options
author | Robert Speicher <rspeicher@gmail.com> | 2015-06-06 23:15:32 -0400 |
---|---|---|
committer | Robert Speicher <rspeicher@gmail.com> | 2015-06-19 04:31:23 -0400 |
commit | b3f9be06398e8872cc64a966f99866b67e18c337 (patch) | |
tree | 07a88eb847b26d16b5e2301962d36e4bfb26772b /spec/javascripts/fixtures | |
parent | 74a6732c0dfc1416cad382203544d9c4d6246f58 (diff) | |
download | gitlab-ce-b3f9be06398e8872cc64a966f99866b67e18c337.tar.gz |
Refactor and spec BlobView JS
Diffstat (limited to 'spec/javascripts/fixtures')
-rw-r--r-- | spec/javascripts/fixtures/blob.html.haml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/javascripts/fixtures/blob.html.haml b/spec/javascripts/fixtures/blob.html.haml new file mode 100644 index 00000000000..15ad1d8968f --- /dev/null +++ b/spec/javascripts/fixtures/blob.html.haml @@ -0,0 +1,9 @@ +#tree-content-holder + .file-content + .line-numbers + - 1.upto(25) do |i| + %a{href: "#L#{i}", id: "L#{i}", 'data-line-number' => i}= i + %pre.code.highlight + %code + - 1.upto(25) do |i| + %span.line{id: "LC#{i}"}= "Line #{i}" |