Skip to content

Commit

Permalink
fix arguments in handlebars and helper
Browse files Browse the repository at this point in the history
  • Loading branch information
brendankenny committed Nov 13, 2016
1 parent b40b0ad commit 49f1a1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lighthouse-core/report/report-generator.js
Expand Up @@ -110,7 +110,7 @@ class ReportGenerator {
Handlebars.registerHelper('not', value => !value);

// arg1 && arg2 && ... && argn
Handlebars.registerHelper('and', () => {
Handlebars.registerHelper('and', function() {
let arg = false;
for (let i = 0, n = arguments.length - 1; i < n; i++) {
arg = arguments[i];
Expand Down

0 comments on commit 49f1a1f

Please sign in to comment.