1.0.0 • Published 8 years ago

phantomjs-polyfill-string-includes v1.0.0

Weekly downloads
523
License
MIT
Repository
github
Last release
8 years ago

phantomjs-polyfill-string-includes

This is a polyfill for String.prototype.includes which is missing from PhantomJS.

Installation

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

Usage with Karma

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

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