Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/panthershark/substr-polyfill

Modular polyfill for substr(-1) for IE browsers
https://github.com/panthershark/substr-polyfill

Last synced: about 2 months ago
JSON representation

Modular polyfill for substr(-1) for IE browsers

Awesome Lists containing this project

README

        

substr-polyfill
===============

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

Credit goes to MDN for the polyfill code and to [mulllhausen](https://github.com/mulllhausen) for a bugfix. 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

```
bower install substr-polyfill
```

Use -S to save to bower.json

```
bower install -S substr-polyfill
```

## NPM Install

```
npm install substr-polyfill
```

To save to package.json
```
npm install substr-polyfill --save
```