diff options
author | Andrey Andreev <narf@devilix.net> | 2015-01-12 16:23:26 +0100 |
---|---|---|
committer | Andrey Andreev <narf@devilix.net> | 2015-01-12 16:23:26 +0100 |
commit | 45a8afaabc6d09ad59bbb3c89a6cdfe8cbc3312c (patch) | |
tree | 7ca4207099f9225b5ef74b31f48627a282e7fdf2 /user_guide_src/source/_themes/eldocs/static/asset/js/method-toc.js | |
parent | cd94dd7e1d8969658810ccc4158a75d2936d0a44 (diff) | |
parent | 934d6d9797f4dadd4e4d05b12bc4d7309fedb6c3 (diff) |
Merge branch 'develop' into feature/session
Diffstat (limited to 'user_guide_src/source/_themes/eldocs/static/asset/js/method-toc.js')
-rw-r--r-- | user_guide_src/source/_themes/eldocs/static/asset/js/method-toc.js | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/user_guide_src/source/_themes/eldocs/static/asset/js/method-toc.js b/user_guide_src/source/_themes/eldocs/static/asset/js/method-toc.js deleted file mode 100644 index a926b3da9..000000000 --- a/user_guide_src/source/_themes/eldocs/static/asset/js/method-toc.js +++ /dev/null @@ -1,44 +0,0 @@ -/* modified from http://stackoverflow.com/a/12459801 */ -$(function (){ - var createList = function(selector){ - - var ul = $('<ul>'); - var selected = $(selector); - - if (selected.length === 0){ - return; - } - - selected.clone().each(function (i,e){ - - var p = $(e).children('.descclassname'); - var n = $(e).children('.descname'); - var l = $(e).children('.headerlink'); - - var a = $('<a>'); - a.attr('href',l.attr('href')).attr('title', 'jump to ' + n + '()'); - - a.append(p).append(n); - - var entry = $('<li>').append(a); - ul.append(entry); - }); - return ul; - } - - var c = $('<div>'); - - var ul0 = c.clone().append($('.submodule-index')) - - customIndex = $('.custom-index'); - customIndex.empty(); - customIndex.append(ul0); - - var l = createList('dl.method > dt, dl.function > dt'); - if (l) { - var ul = c.clone() - .append('<h3>Methods / Functions</h3>') - .append(l); - } - customIndex.append(ul); -});
\ No newline at end of file |