StanAngeloff / compass-magick

Dynamic image generation for Compass using ChunkyPNG/PhantomJS.
http://StanAngeloff.github.com/compass-magick/
Other
157 stars 4 forks source link

Update PhantomJS support script to work with the recent versions of PhantomJS #14

Closed nickdima closed 12 years ago

nickdima commented 12 years ago

The 'magick-phantom' function was not working with recent version of PhantomJS because the way a page is created was changed. You now have to create a page object instead of adding the contend directly to the phantom object. I forked the project and updated magick.js accordingly.

StanAngeloff commented 12 years ago

Thank you, will bump the version and release a .gem file as well.

nickdima commented 12 years ago

My pleasure! I'm now trying to make css image backgrounds work with phantomJS rendering... Because it seems that it ignores background:url(..)