We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0080535 commit 2e9098aCopy full SHA for 2e9098a
examples/extend/app.js
@@ -13,7 +13,7 @@ app.use(express.static(path.join(__dirname, 'public')))
13
const blocks = {};
14
15
hbs.registerHelper('extend', function(name, context) {
16
- const block = blocks[name];
+ let block = blocks[name];
17
if (!block) {
18
block = blocks[name] = [];
19
}
0 commit comments