[BUG] can't set ruleDictionary from ySlow if ySlow isn't used
This commit is contained in:
parent
d81693e88d
commit
bc1a4a9b1b
|
|
@ -35,12 +35,12 @@ HTMLRenderer.prototype.renderPage = function(url, pageData, cb) {
|
|||
'sizePerContentType': ySlowUtil.getAssetsSizePerContentType(pageData.yslow.comps),
|
||||
'ruleDictionary': pageData.yslow.dictionary.rules
|
||||
};
|
||||
|
||||
this.ruleDictionary = pageData.yslow.dictionary.rules;
|
||||
} else {
|
||||
renderData.url = util.getURLFromPageData(pageData);
|
||||
}
|
||||
|
||||
this.ruleDictionary = pageData.yslow.dictionary.rules;
|
||||
|
||||
renderData.gpsiData = pageData.gpsi;
|
||||
renderData.browsertimeData = pageData.browsertime;
|
||||
renderData.wptData = pageData.webpagetest;
|
||||
|
|
|
|||
Loading…
Reference in New Issue