Skip to content
A Bakeable (see BakeJS) collection of HTML5 and Javascript Shims
JavaScript
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
array
string
.gitignore
README.md

README.md

shim

This is a bakeable collection of shims for Javascript Objects that might not be implemented in older browsers. The majority of the functions have been implemented directly from the excellent es5-shim repository.

The reason this repository exists is to facilitate only pulling in shims that are required by your library, rather than including all ES5 functionality.

NOTE: This is very much a work in progress.

Usage

If you are building a Bake ready Javascript library, then simply add a req comment for the particular shims you require, e.g.

// req: shim[js#Array.forEach, js#Array.filter]

[1,2,3].forEach(function(value) {

});
Something went wrong with that request. Please try again.