Function.prototype.bind polyfill for PhantomJS packaged for the Rails asset pipeline.
Add the gem to your Gemfile:
Load the library within an asset manifest such as
//= require phantomjs_polyfill-rails/bind-polyfill
If you've included the gem in your Gemfile, Bundler will generally take care of
requireing the necessary files, but if for some reason you need to manually
require the gem:
The Function.prototype.bind polyfill for PhantomJS project has no versioned releases. The following table indicates which version of the JS file (indicated by commit ID) is included with each version of the gem.
|Gem Version||Commit ID|