Skip to content

v1.1.0

Compare
Choose a tag to compare
@jonaskuske jonaskuske released this 09 Dec 23:41
ba49c8f

Changelog

[1.1.0] - 2018-12-10

Added

  • destroy() and polyfill() now return the polyfill instance so you can chain them
  • Tests for Node environment (→ SSR), destroy(), polyfill() and { force } override
  • Improved JSDoc typing for better IntelliSense completion
  • Entry "unpkg" in package.json, points at minified version so CDN serves smaller file

Changed

  • You can now override window.__forceSmoothscrollAnchorPolyfill__ with the { force: boolean } argument of polyfill()
  • Package entry ("main") now points to unminified file so typing hints are kept
  • Explain usage of { behavior: 'instant' } (not in spec anymore) + outline alternative

Fixed

  • (Regression) Prevent 'window is not defined' error in Node environments