Skip to content

tom-james-watson/phantomjs-polyfill

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Function.prototype.bind polyfill for PhantomJS

npm npm npm npm

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published