Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support patternengine name rather than file extension in the template tab #447

Merged
merged 1 commit into from
Aug 25, 2016

Conversation

geoffp
Copy link
Contributor

@geoffp geoffp commented Aug 22, 2016

Addresses #446

Summary of changes:
Hey, it's a one-liner. We just drop the engine name into the pattern data block on the pattern's rendered html page. The UI can be updated to use it, but otherwise will ignore it.

See also:

Bonus: I believe this change is harmless even if support is missing in styleguidekit-assets-default. Likewise, I believe the proposed change to styleguidekit-assets-default is harmless even if this change isn't present.

UI can put it in the template tab if it's there.
@geoffp geoffp changed the title Put the pattern engine name in the generated pattern data block so the Support patternengine name rather than file extension in the template tab Aug 22, 2016
@bmuenzenmeyer bmuenzenmeyer modified the milestone: 2.5.0 Aug 24, 2016
@bmuenzenmeyer
Copy link
Member

Tested this with a local copy of pattern-lab/styleguidekit-assets-default#44 with and without values - works as expected

@bmuenzenmeyer bmuenzenmeyer merged commit b79f5c1 into dev Aug 25, 2016
@bmuenzenmeyer bmuenzenmeyer deleted the engine-name-in-pattern-tab branch October 6, 2016 04:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants