4.4.6 • Published 3 years ago

@cable_ready/polyfills v4.4.6

Weekly downloads
179
License
MIT
Repository
github
Last release
3 years ago

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

  • core-js

    • Array.flat()
    • Array.forEach()
    • Array.from()
    • Array.includes()
    • Object.entries()
    • Promise

Polyfills imported from element-closest

Polyfills imported from @webcomponents/template