Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 445 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 445 Bytes

phantomjs-polyfill-includes

A simple Array.prototype.includes polyfill to phantomJS command line browser. Based in MDN specification

MIT License

Installation

    npm install --save-dev phantomjs-polyfill-includes

Usage with Karma

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

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