sgentle/phantomjs-node — pull request #46 by MarcelloDiSimone (2012-09-08 16:49:35+00:00)
Title: Added the possibility to pass arguments to evaluate

As explained in Issue #30, you've not been able to pass arguments to evaluate, like it's possible in the native phantom evaluate method. I changed the argument handling of the evaluate wrapper function so you can pass arguments now.

evaluate( windowScopedFunction, evaluateCallback [, arg1, … argN] )