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

fix(masonry.restrict): change directive restriction to attribute-only #191

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

blakerego
Copy link

The masonry directive does not properly create columns when used as an element. To avoid confusion,
I updated the directive code to restrict usage to attribute mode only (this could always be changed
back, if a subsequent fix was made to fix element loading). I have also updated the repository
README documentation to provide a more accurate account of how the masonry directive currently
works. This issue was first brought up here: #169. Also updated the tests to reflect this change.

BREAKING CHANGE: This will break uses of this directive as an element. However, these uses are
likely already broken. closes #169

The masonry directive does not properly create columns when used as an element. To avoid confusion,
I updated the directive code to restrict usage to attribute mode only (this could always be changed
back, if a subsequent fix was made to fix element loading). I have also updated the repository
README documentation to provide a more accurate account of how the masonry directive currently
works. This issue was first brought up here: passy#169. Also updated the tests to reflect this change.

BREAKING CHANGE: This will break uses of this directive as an element. However, these uses are
likely already broken. closes passy#169
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Masonry directive as an element doesn't create columns
1 participant