PageSourceSearch

https://ayty.org/assets/js/common.js

js ayty.org collected 2026-10-01 16:27:37 UTC 839 bytes, 25 lines download raw bytes

1// add toggle functionality to abstract and bibtex buttons
2$(document).ready(function() {
3    $('a.abstract').click(function() {
4        $(this).parent().parent().find(".abstract.hidden").toggleClass('open');
5        $(this).parent().parent().find(".bibtex.hidden.open").toggleClass('open');
6    });
7    $('a.bibtex').click(function() {
8        $(this).parent().parent().find(".bibtex.hidden").toggleClass('open');
9        $(this).parent().parent().find(".abstract.hidden.open").toggleClass('open');
10    });
11    $('a').removeClass('waves-effect waves-light');
12});
13
14// bootstrap-toc
15$(document).ready(function () {
16    if($('#toc-sidebar').length){
17        var navSelector = "#toc-sidebar";
18        var $myNav = $(navSelector);
19        Toc.init($myNav);
20        $("body").scrollspy({
21            target: navSelector,
22        });
23    }
24});
25

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.