Handling exit event of phantom child process in order to stop server after Phantom crashes.
Expose phantom.on() method to the phantom proxy for greater flexibility.
fixed page.includeJs()

previously a call to this function returned immediately
according to the phantomjs API [1] it invokes a callback, after the script has been loaded and executed
fixed bridge to respond in that callback

[1]: https://github.com/ariya/phantomjs/wiki/API-Reference-WebPage#wiki-webpage-includeJs
#41 Add support for evaluateAsync
Fix code indentation/trailing whitespace
Fix semicolons
add test/files/testrender.png to .gitignore

It is created by tests and should not be added to source control
Merge pull request #36 from MrOrz/contrib

Handling PhantomJS crash.
bumped version
Merge pull request #39 from FelixHoer/master

Fixed page.includeJs()
Merge pull request #42 from gkorland/master

Add support for evaluateAsync
Merge pull request #43 from vmeurisse/codeStyle

Code style
added preliminary support for onResourceError
Merge pull request #46 from vmeurisse/gitignore

add test/files/testrender.png to .gitignore. This should actually not happen as the tests will try to delete it. Just in case that fails, this will ignore it.
expose phantomjs childprocess as ._phantom
omitting testrender
another version with latest pull requests
all test ported to use mocha instead of expresso
fixed expresso to mocha change for npm test
modified test to hopefully not fail in other conditions than my own