@cable_ready/polyfills

4.4.6 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @cable_ready/polyfills

Weekly Downloads

131

Version

4.4.6

License

MIT

Unpacked Size

7.64 kB

Total Files

14

Last publish

Collaborators

  • hopsoft
  • marcoroth
  • julianrubisch
  • cableready-bot