Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Collection of polyfills that I've written
branch: master

Merge pull request #31 from shannonmoeller/feature/dataset-getter-bugfix

Added support for `Object.defineProperty` to dataset polyfill.
latest commit 6e87470526
Remy Sharp authored


A way of getting the browser to behave and support the latest specifications.

This is my own collection of code snippets that support different native features of browsers using JavaScript (and if required, Flash in some cases).

Component Installation

You can install polyfills using component:

component install remy/polyfills

If you'd like to include all polyfills (except device motion), you can just:

require( 'polyfills' );

If you'd only like a specific polyfill, you can require indivual ones like this:

require( 'polyfills/classList' );

// now we can use classList in lots of browsers!
element.classList.add( 'foo' );



Something went wrong with that request. Please try again.