meteor/es5-shim

Name: es5-shim

Owner: Meteor

Description: ECMAScript 5 compatibility shims for legacy JavaScript engines

Forked from: es-shims/es5-shim

Created: 2015-07-16 19:11:19.0

Updated: 2015-07-16 19:11:20.0

Pushed: 2015-08-13 19:21:06.0

Homepage:

Size: 1317

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

es5-shim Version Badge

npm badge

Build Status dependency status dev dependency status

es5-shim.js and es5-shim.min.js monkey-patch a JavaScript context to contain all EcmaScript 5 methods that can be faithfully emulated with a legacy JavaScript engine.

es5-sham.js and es5-sham.min.js monkey-patch other ES5 methods as closely as possible. For these methods, as closely as possible to ES5 is not very close. Many of these shams are intended only to allow code to be written to ES5 without causing run-time errors in older engines. In many cases, this means that these shams cause many ES5 methods to silently fail. Decide carefully whether this is what you want. Note: es5-sham.js requires es5-shim.js to be able to work properly.

Tests

The tests are written with the Jasmine BDD test framework. To run the tests, navigate to /tests/ , or, simply npm install and npm test.

Shims
Complete tests
Shams
May fail

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.