phantomjs-polyfill

Polyfill for Function.prototype.bind

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
phantomjs-polyfill
4220.0.28 years ago9 years agoMinified + gzip package size for phantomjs-polyfill in KB

Readme

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: './nodemodules/phantomjs-polyfill/bind-polyfill.js', ... ...