es7-shim.browser.js calls the “shim” method on the export of
es7-shim.js which actually modifies the global object, including replacing native methods when engine-specific bugs exist.
Published on npm are
dist/es7-shim.min.js which are pre-prepared browserified versions of
Source for shims
Every shim in this module is a separate, independent
To be included, all shims must have a ".shim()" method that installs the shim into the global object whenever it is necessary. It should also handle any engine-specific specific to the method it is shimming.
Simply clone the repo,
npm install, and run