You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I managed to install via npm, but when I set the options, using $('#toc').toc(); I get Uncaught TypeError: $(...).toc is not a function.
The example configures the selectors with <div class="toc" data-toc="h1, h2, h3">, and doesn't use any jQuery at all. Is there another example somewhere I can look at to get this working?
The text was updated successfully, but these errors were encountered:
The download links located here http://projects.jga.me/toc/ return 404.
I managed to install via npm, but when I set the options, using
$('#toc').toc();
I getUncaught TypeError: $(...).toc is not a function
.The example configures the selectors with
<div class="toc" data-toc="h1, h2, h3">
, and doesn't use any jQuery at all. Is there another example somewhere I can look at to get this working?The text was updated successfully, but these errors were encountered: