Created
September 30, 2016 15:58
-
-
Save outwitevil/13330b62e17b770b8983dda656e6cf88 to your computer and use it in GitHub Desktop.
Fixing my yslow.js script to work with phantomjs 2.1.1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Copyright (c) 2012, Yahoo! Inc. All rights reserved. | |
* Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms. | |
*/ | |
var i, arg, page, urlCount, viewport, webpage = require("webpage"), | |
system = require('system'), | |
args = system.args, | |
len = args.length, | |
urls = [], |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment