marcelduran / yslow

YSlow analyzes web pages and suggests ways to improve their performance based on a set of rules for high performance web pages.
yslow.org
BSD 3-Clause "New" or "Revised" License
2.2k stars 382 forks source link

Fixes to make it compatible with phantomjs 2.0.0 #169

Open nagaozen opened 9 years ago

nagaozen commented 9 years ago

phantom.args deprecated in favor of system.args phantom.scriptName deprecated in favor of system.args[0]

csaltos commented 7 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