Skip to content

Using pattern parameters sometimes breaks includes #377

@james-nash

Description

@james-nash

I am using Pattern Lab Node v2.0.1 on Mac, with Node v6.2.1, using the Gulp Edition.

Expected Behavior

Including a pattern partial with parameters (as per http://patternlab.io/docs/pattern-parameters.html) should render the included pattern using the parameters supplied.

Actual Behavior

The included pattern is sometimes omitted completely.

It looks like under some circumstances the include works fine (and does so consistently) and under others it fails (also consistently). It's not yet clear what difference in circumstances causes this though.

Steps to Reproduce
  1. Create a pattern that includes another, using the pattern parameter syntax. E.g. {{> atoms-unordered( foo: 42 ) }}
  2. Rebuild your style guide
  3. Open the pattern

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions