pattern-lab / patternengine-node-handlebars

ARCHIVED - The Handlebars engine for Patternlab/Node
MIT License
10 stars 9 forks source link

Fixed issue with hidden patterns not being able to be included. #4

Closed kreativ-los closed 8 years ago

kreativ-los commented 8 years ago

Summary of changes:

Hidden patterns were registered with an underscore in the name. I changed it to remove the underscore from the pattern name.

I've hidden patternName in my project and wanted to include it like:

{{> patternType-patternName }}

This failed, because in the pattern registry of Handlebars it was registered with an underscore before the pattern name.

geoffp commented 8 years ago

I love it! Thanks for the fix!

kreativ-los commented 8 years ago

Glad you like it :)