phantomjs-polyfill-object-assign

0.0.2 • Public • Published

phantomjs-polyfill-object-assign

Object.prototype.assign polyfill for phantom.js based on https://github.com/tom-james-watson/phantomjs-polyfill and https://github.com/ptim/phantomjs-polyfill-find

This is a polyfill for Object.prototype.assign which is missing from PhantomJS.

Installation

    npm install --save-dev phantomjs-polyfill-object-assign

Usage with Karma

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

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

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i phantomjs-polyfill-object-assign

      Weekly Downloads

      881

      Version

      0.0.2

      License

      MIT

      Last publish

      Collaborators

      • flaming