1.0.1 • Published 7 years ago

phantomjs-polyfill-array-from v1.0.1

Weekly downloads
390
License
MIT
Repository
github
Last release
7 years ago

phantomjs-polyfill-array-from

A PhantomJS polyfill for Array.prototype.from. Based on MDN specification.

Build Status

Installation

npm install --save-dev phantomjs-polyfill-array-from

Usage

require('phantomjs-polyfill-array-from')

Usage with Karma

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

...
files: [
  './node_modules/phantomjs-polyfill-array-from/array-from-polyfill.js',
  ...
]
...