confess
confess copied to clipboard
Update to also support PhantomJS v2.0
I just tried to clone confess.js and use it with the current version of PhantomJS. Looks like they made a backwards incompatible change with v2.0 in that they no longer support phantom.args but rather require the use of system.args Also they have added the script name as the first argument.
I've tried to add the minimal code to confess.js to get it to run on v2.0 while maintaining backwards compatibility so people can still run it on v1.2, etc.