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 #190

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.

This will break uses of this directive as an element. However, these uses are likely already broken.

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

This will invalidate uses of this directive as an element. However, these uses are likely already
@passy
Copy link
Owner

passy commented Mar 14, 2017

Interesting. Thanks for the investigation! Could you add a "Breaking Change" note to your commit message as described here?

I'd like to cut a regular release first as this will require a major version bump.

@blakerego
Copy link
Author

@passy I re-committed this change to adhere to the commit standards. I re-created this PR here -
#191

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.

None yet

2 participants