Open nagaozen opened 9 years ago
Thank you @nagaozen, this fix works great for me (using phantomjs 2.1.1 on macOS Sierra).
This PR is duplicated with https://github.com/marcelduran/yslow/pull/156 from @Staniiiik with the improving that this current PR also fixes the script name arguments.
I hope @marcelduran may help us with evaluating and merging this fix.
By the way thank you for this great piece of software, it works great for us at www.talenteca.com
phantom.args deprecated in favor of system.args phantom.scriptName deprecated in favor of system.args[0]