[BUG] can't set ruleDictionary from ySlow if ySlow isn't used

This commit is contained in:
Steffen Persch 2014-11-03 21:09:34 +01:00
parent d81693e88d
commit bc1a4a9b1b
1 changed files with 2 additions and 2 deletions

View File

@ -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;