/*
 * pagespeed-insights
 * http://github.com/addyosmani/pagespeed-insights
 *
 * Copyright (c) 2014 Addy Osmani, James Cryer
 * Licensed under the Apache 2.0 license.
 */

'use strict';
var config = require('./config').init();
var pagespeed = require('./pagespeed').init();
var output = require('./output').init();

module.exports = function (options) {
    console.log('Running Pagespeed Insights');
    return pagespeed.run(config.params(options), output.process, options.done);
};

/*
	options = {
    	key: 'AIzaSyCHBBOqcgSVUC_shyK6BEAKOZZoBpJCF6g',
    	url: 'http://html5rocks.com',
    	paths: '',
    	locale: 'en_GB',
    	strategy: 'desktop',
    	threshold: 80
    };
 */
@@ -481,203 +481,4 @@
 ;%0A%7D;
-%0A%0A/*%0A%09options = %7B%0A    %09key: 'AIzaSyCHBBOqcgSVUC_shyK6BEAKOZZoBpJCF6g',%0A    %09url: 'http://html5rocks.com',%0A    %09paths: '',%0A    %09locale: 'en_GB',%0A    %09strategy: 'desktop',%0A    %09threshold: 80%0A    %7D;%0A */

Drop comment