Obvious/phantomjs — pull request #118 by ChrisWren (2013-11-26 21:03:06+00:00)
Title: Added support for multiple binaries

I needed to have support for multiple PhantomJS binaries because I am storing my node modules in my project repo and my tests are being run on multiple platforms.

What I did was change location.js to a binary.json file which maps a platform to a phantom binary and then during runtime check if the necessary binary is installed. If not, install it before running phantom.