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

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

Open
blakerego wants to merge 1 commit intopassy:masterfrom
blakerego:master
Open

fix(masonry.restrict): change directive restriction to attribute-only#190
blakerego wants to merge 1 commit intopassy:masterfrom
blakerego:master

Conversation

@blakerego
Copy link
Copy Markdown

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
Copy Markdown
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
Copy Markdown
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.

2 participants