Skip to content
This repository was archived by the owner on Dec 10, 2019. It is now read-only.

Commit 70430b6

Browse files
authored
Merge pull request #4 from T-BriX/dev
Fixed issue with hidden patterns not being able to be included.
2 parents f79cbb3 + 9a506ba commit 70430b6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/engine_handlebars.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ var engine_handlebars = {
4545
},
4646

4747
registerPartial: function (pattern) {
48+
pattern.patternPartial = pattern.patternPartial.replace('-_', '-');
4849
Handlebars.registerPartial(pattern.patternPartial, pattern.template);
4950
},
5051

0 commit comments

Comments
 (0)