substr-polyfill

Modular polyfill for substr(-1) for IE browsers. Respectfully copied from MDN and added to a module.

substr-polyfill

Modular polyfill for substr(-1) for IE browsers.

Credit goes to MDN for the polyfill code. This repo is here so npm and bower can include it easily.

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/substr

bower install substr-polyfill

Use -S to save to bower.json

bower install -S substr-polyfill
npm install substr-polyfill

To save to package.json

npm install substr-polyfill --save