Include this library in the header of a page and when accessed from older browsers it will upgrade their engine to support EcmaScript 5, the latest version of JavaScript.
It's not a complete implementation, but is at close as it can get.
Even if es5-shim does not port enough of the EcmaScript 5 core, it will avoid runtime errors by causing code to silently fail and allow the page / app to continue running.
What is new in this release:
- Start including version numbers in minified files.
What is new in version 4.1.1:
- Start including version numbers in minified files.
What is new in version 4.1.0:
- Start including version numbers in minified files.
What is new in version 4.0.1:
- Fixed legacy arguments object detection in Object.keys.
What is new in version 4.0.0:
- Use Object.defineProperty where available, so that polyfills are non-enumerable when possible.
- Lots of internal refactoring.
- Fixed a bug referencing String#indexOf and String#lastIndexOf before polyfilling it.
What is new in version 3.4.0:
- Fix Object.keys with Arguments objects in Safari 5.0.
- Now shimming String#split in Opera 10.6.
- Avoid using "toString" as a variable name, since that breaks Opera.
- Internal implementation and test cleanups.
What is new in version 3.3.2:
- Removed an internal "bind" call, which should make the shim a bit faster
- Fixed a bug with object boxing in Array#reduceRight that was failing a test in IE 6
What is new in version 3.3.0:
- Fixed Array#reduceRight in Node 0.6 and older browsers.
What is new in version 3.0.2:
- Fixed `Function#bind` in IE 7 and 8.
What is new in version 2.3.0:
- parseInt is now properly shimmed in ES3 browsers to default the radix.
- Update URLs to point to the new organization.
What is new in version 2.0:
- Separate reliable shims from dubious shims.
What is new in version 1.2.10:
- Group-effort Style Cleanup.
- Took a stab at fixing Object.defineProperty on IE8 without bad side-effects.
- Object.isExtensible no longer fakes it. (@xavierm)
- Date.prototype.toISOString no longer deals with partial ISO dates, per spec.
Requirements:
- JavaScript enabled on client side
Comments not found