Skip to content

v2.0

Choose a tag to compare

@tscanlin tscanlin released this 30 Apr 23:31
· 497 commits to master since this release

Added

  • [major] smooth-scroll is included by default now
  • [patch] throttling support to improve performance, also the throttleTimeout option
  • [patch] new "try it now" option on documentation site

Changed

  • [minor] broke up scss files and separate tocbot styles better
  • [minor] default option for contentSelector to be .js-toc-content
  • [minor] default option for ignoreSelector to be .js-toc-ignore
  • [minor] default option for collapsibleClass to be .is-collapsible
  • [patch] reorder default-options.js
  • [patch] update documentation

Removed

  • [patch] dependency on classList to improve browser support

Fixed

  • [minor] new and improved tests using jsdom
  • [dev] switched from gulp to npm scripts
  • [dev] switched from browserify to webpack
  • [dev] switched from swig to react for building the documentation