Skip to content

Commit

Permalink
misc(build): remove template.html from devtools report resources (#12891
Browse files Browse the repository at this point in the history
)
  • Loading branch information
connorjclark authored Aug 13, 2021
1 parent 084d436 commit 5bc90d7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 15 deletions.
1 change: 0 additions & 1 deletion build/build-dt-report-resources.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ fs.mkdirSync(distDir, {recursive: true});
writeFile('report.js', htmlReportAssets.REPORT_JAVASCRIPT);
writeFile('report.css', htmlReportAssets.REPORT_CSS);
writeFile('standalone-template.html', htmlReportAssets.REPORT_TEMPLATE);
writeFile('templates.html', '<div>Empty file. Remove on next roll to CDT</div>');
writeFile('report.d.ts', 'export {}');
writeFile('report-generator.d.ts', 'export {}');

Expand Down
7 changes: 0 additions & 7 deletions report/renderer/report-renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,6 @@ export class ReportRenderer {
return container;
}

/**
* @param {ParentNode} _
*/
setTemplateContext(_) {
// Removed, exists until usage is removed from CDT.
}

/**
* @param {LH.ReportResult} report
* @return {DocumentFragment}
Expand Down
7 changes: 0 additions & 7 deletions report/renderer/report-ui-features.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,13 +171,6 @@ export class ReportUIFeatures {
}
}

/**
* @param {ParentNode} _
*/
setTemplateContext(_) {
// Removed, exists until usage is removed from CDT.
}

/**
* @param {{container?: Element, text: string, icon?: string, onClick: () => void}} opts
*/
Expand Down

0 comments on commit 5bc90d7

Please sign in to comment.