Skip to content

PhantomJS polyfills for function.prototype.bind and Element.prototype.remove

Notifications You must be signed in to change notification settings

viruschidai/phatomjs-polyfills

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PhantomJS polyfills (For phantomJS 1.x)

Build Status PhantomJS is widely used for testing web-based applications. This lib contains polyfills for the following functions that PhantomJS@1.x does not support natively:

  • Function.prototype.bind
  • Element.prototype.remove

Note: PhantomJS2.x has supported those method natively. And the PhantomJS team don't recommend PhantomJS 1.x anymore

Get started

Installation

npm install -D phantomjs-polyfills

Use with Karma

Add the polyfills in your karma.config.js

...
files: [
    {pattern: './node_modules/phantomjs-polyfills/polyfills/*.js', included: true},
    ...
]

About

PhantomJS polyfills for function.prototype.bind and Element.prototype.remove

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages