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

Releases: pattern-lab/patternengine-node-underscore

v2.0.0-alpha.1

21 Oct 01:54
Compare
Choose a tag to compare
v2.0.0-alpha.1 Pre-release
Pre-release
Merge pull request #3 from pattern-lab/dev

Dev

1.2.0: Halp plz

12 Oct 19:17
Compare
Choose a tag to compare

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

03 Aug 20:50
Compare
Choose a tag to compare

The lineage hunting machinery was stale; now it functions properly, detecting partial calls using the included _.getNamedPartial() mixin.

First release!

02 Aug 20:56
Compare
Choose a tag to compare

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.