fix jshints
This commit is contained in:
parent
f5bdbeb622
commit
fb9ad9fb05
|
|
@ -5,7 +5,7 @@
|
|||
* Released under the Apache 2.0 License
|
||||
*/
|
||||
var util = require('../util/util'),
|
||||
yslowUtil = require('../util/yslowUtil')
|
||||
yslowUtil = require('../util/yslowUtil');
|
||||
|
||||
var pages = [];
|
||||
var isDoc = function(comp) {
|
||||
|
|
|
|||
|
|
@ -4,8 +4,7 @@
|
|||
* and other contributors
|
||||
* Released under the Apache 2.0 License
|
||||
*/
|
||||
var Stats = require('fast-stats').Stats,
|
||||
crypto = require('crypto'),
|
||||
var crypto = require('crypto'),
|
||||
url = require('url');
|
||||
|
||||
module.exports = {
|
||||
|
|
|
|||
|
|
@ -149,7 +149,7 @@ module.exports = {
|
|||
/**
|
||||
* Get the size in bytes for a specific domain
|
||||
*/
|
||||
getSizeForDomain: function(domain, components) {;
|
||||
getSizeForDomain: function(domain, components) {
|
||||
var hostAndSize = util.aggregate(components,
|
||||
function(comp) {
|
||||
return util.getHostname(comp.url);
|
||||
|
|
|
|||
Loading…
Reference in New Issue