Last analyzed 67ce7cf 10 days ago
Default analysis branch is
Currently analyzing run
Found the usage of undeclared variables JS-0125
Bug risk
8 months ago8 months old
'$' is not defined To fix this, add jquery in environment array of .deepsource.toml. Read more in our documentation https://deepsource.io/docs/analyzer/javascript
68}
69
70function scrollActiveToc() {
71  var active = $('nav#toc a.active').get(0);72  if (active) {
73    active.scrollIntoView({ block: 'center' });
74  }
'$' is not defined To fix this, add jquery in environment array of .deepsource.toml. Read more in our documentation https://deepsource.io/docs/analyzer/javascript
64}
65
66function queryShow() {
67  $('#search-hits').show(200);68}
69
70function scrollActiveToc() {
'$' is not defined To fix this, add jquery in environment array of .deepsource.toml. Read more in our documentation https://deepsource.io/docs/analyzer/javascript
60}
61
62function queryClose() {
63  window.setTimeout(function () { $('#search-hits').hide(200); }, 500);64}
65
66function queryShow() {
'$' is not defined To fix this, add jquery in environment array of .deepsource.toml. Read more in our documentation https://deepsource.io/docs/analyzer/javascript
54}
55
56function queryChange() {
57  if ($('#search-query').val() != '') {58    queryShow();
59  }
60}
'$' is not defined To fix this, add jquery in environment array of .deepsource.toml. Read more in our documentation https://deepsource.io/docs/analyzer/javascript
44    addHeadingAnchors();
45    var anchor = href.split('#')[1];
46    if (anchor) {
47      var anchorlink = $(`main a[href="#${anchor}"]`).get(0)48      if (anchorlink) {
49        anchorlink.scrollIntoView({ behavior: 'smooth', block: 'start' });
50      }