filamentgroup / grunt-criticalcss

Grunt wrapper for criticalcss
MIT License
530 stars 27 forks source link

PhantomJS polyfill as a dependency? #28

Closed Wilto closed 8 years ago

Wilto commented 9 years ago

Phantom blowing up on encountering .bind() is killing me, and I can’t be the only one.

https://www.npmjs.com/package/phantomjs-polyfill

Wilto commented 9 years ago

Okay, I’m stumped. I can’t figure out where I need to polyfill Function.prototype.bind—I tried it in both of the taskrunners’ page.evaluates and in page.onInitialized, and nothing is doing the job.

jefflembeck commented 8 years ago

Shouldn't be necessary anymore, thanks to 2.x being in play.