Need private packages and team management tools?Check out npm Teams »

phantomjs-polyfill

0.0.2 • Public • Published

Function.prototype.bind polyfill for PhantomJS

This is a polyfill for function.prototype.bind which is missing from PhantomJS.

Installation

npm install --save-dev phantomjs-polyfill

Usage

require('phantomjs-polyfill')

Usage with Karma

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

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

Install

npm i phantomjs-polyfill

DownloadsWeekly Downloads

16,061

Version

0.0.2

License

ISC

Last publish

Collaborators

  • avatar