diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-09 15:26:47 +0200 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2013-02-09 15:26:47 +0200 |
commit | 38737079b6c1096c2517e249198b8bc0bedf4156 (patch) | |
tree | ec1f00f0f7a621e2c71f9f898204ef8950eb05b1 /doc/code/js/main.js | |
parent | 2f019b2b4ca7ab646427b81ebaf3ff96cda211f4 (diff) | |
download | gitlab-ce-38737079b6c1096c2517e249198b8bc0bedf4156.tar.gz |
ignore docs by git
Diffstat (limited to 'doc/code/js/main.js')
-rwxr-xr-x | doc/code/js/main.js | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/doc/code/js/main.js b/doc/code/js/main.js deleted file mode 100755 index 859772b91d9..00000000000 --- a/doc/code/js/main.js +++ /dev/null @@ -1,24 +0,0 @@ -function toggleSource(id) -{ - var src = $('#' + id).toggle(); - var isVisible = src.is(':visible'); - $('#l_' + id).html(isVisible ? 'hide' : 'show'); - if (!src.data('syntax-higlighted')) { - src.data('syntax-higlighted', 1); - hljs.highlightBlock(src[0]); - } -} - -window.highlight = function(url) { - var hash = url.match(/#([^#]+)$/) - if(hash) { - $('a[name=' + hash[1] + ']').parent().effect('highlight', {}, 'slow') - } -} - -$(function() { - highlight('#' + location.hash); - $('.description pre').each(function() { - hljs.highlightBlock(this); - }); -}); |