@cable_ready/polyfills
v4.4.6
Published
Polyfills to support CableReady in older browsers
Downloads
6,285
Keywords
Readme
Polyfills for CableReady
Description
The @cable_ready/polyfills
package provides support for CableReady in older browsers like Internet Explorer 11.
Usage
To include the polyfills you just have to import the package. Typically you want to import it in app/javascript/packs/application.js
.
// app/javascript/packs/application.js
import '@cable_ready/polyfills'
// ...
Details
This repository contains a few polyfills itself and bundles up polyfills from other packages. The following list shows the included polyfills and where they are coming from:
Polyfills imported in this package
Custom
Array.flat()
Array.forEach()
Array.from()
Array.includes()
Object.entries()
Promise