Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/ndelangen/phantomjs-polyfill-every

Polyfill for Array.prototype.every
https://github.com/ndelangen/phantomjs-polyfill-every

Last synced: about 2 months ago
JSON representation

Polyfill for Array.prototype.every

Awesome Lists containing this project

README

        

# phantomjs-polyfill-every

This is a polyfill for Array.prototype.every which is missing from PhantomJS.

## Installation

```
npm install --save-dev phantomjs-polyfill-every
```

## Usage

```
require('phantomjs-polyfill')
```

## Usage with Karma

Include the polyfill directly in the files list of your karma.conf

```
...
files: [
'./node_modules/phantomjs-polyfill-every/every-polyfill.js',
...
]
...
```