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

Added patternlab-pattern-before-data-merge event to enable manipulati… #533

Merged
merged 1 commit into from
Oct 12, 2016

Conversation

DavidEmanuelsen
Copy link
Contributor

@DavidEmanuelsen DavidEmanuelsen commented Oct 12, 2016

Summary of changes:
Added an additional event to patternlab.js to after pattern lineages have been set, and before global data has been merged with pattern data. The event is needed to be able to traverse/modify pattern data before the merge occurs.

We were trying to create a plugin similar to the data-inheritance plugin for php when we found there was no suitable event to hook onto. If the naming is incorrect according to any standard defined, I'll happily change it.

…on of pattern data before it's merged with global
@bmuenzenmeyer
Copy link
Member

bmuenzenmeyer commented Oct 12, 2016

A welcome addition - thanks for your interest in Pattern Lab plugins!

Keep me posted on your plugin journey!

@bmuenzenmeyer bmuenzenmeyer merged commit 93525c7 into pattern-lab:dev Oct 12, 2016
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.

2 participants