1.0.0 • Published 8 years ago

phantomjs-polyfill-every v1.0.0

Weekly downloads
63
License
MIT
Repository
github
Last release
8 years ago

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',
  ...
]
...