This repository has been archived by the owner on Dec 10, 2019. It is now read-only.
Releases: pattern-lab/patternengine-node-underscore
Releases · pattern-lab/patternengine-node-underscore
v2.0.0-alpha.1
Merge pull request #3 from pattern-lab/dev Dev
1.2.0: Halp plz
We all make mistakes. Given that, wouldn't it be nice if your patternlab-node engine would actually try to tell you what kind of mistake you made, and look good doing it?
I think so too.
- if a requested pattern partial is missing, say so; if there's compilation error, print the output from the exception.
- if you've tried to call a non-existent pattern with
_.renderNamedPartial('atom-not-there', obj)
, say so in the error message - beautiful and helpful error reporting during underscore template rendering
- Shift template compilation time to the partial registration phase
1.1.2: Working lineage hunting
The lineage hunting machinery was stale; now it functions properly, detecting partial calls using the included _.getNamedPartial() mixin.
First release!
It works now! You can author patterns using underscore template. We're using a custom underscore mixin to implement support for partials, and JSON data gets passed around as expected.