Fork me on GitHub

Polyfills

Highways takes advantage of several modern JavaScript features including the Fetch API, Promises and Maps. These features aren't polyfilled out of the box because the library has to be lightweight and doesn't need to support more than the recent major versions of modern browsers. So, to support older browsers or versions, polyfills are required. Below is the recommended approach to include them using polyfill.io:

<!-- Include the following script tag before include the script using Highway -->
<script src="https://polyfill.io/v3/polyfill.min.js?features=fetch%2CPromise"></script>

Note: Polyfill.io isn't maintained by the team developing Highway. The script can be customized to support more features when needed but be aware that issues have to be reported to the Polyfill.io team. All issues related to this tool and reported in Highway's repository will be closed immediately.

Once the polyfills are configured, Highway should be working on most of the browsers and versions. However, be aware that the oldest browsers or versions might still be unsupported. So, be reasonable before opening an issue...

  • ✅ Chrome
  • ✅ Firefox
  • ✅ Edge
  • ✅ Safari
  • ✅ Internet Explorer