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

Commit 9a506ba

Browse files
committed
Fixed issue with hidden patterns not being able to be included.
Hidden patterns were registered with an underscore in the name. I changed it to remove the underscore from the pattern name.
1 parent f79cbb3 commit 9a506ba

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)