Skip to content

Conversation

@cossssmin
Copy link
Member

This PR makes it possible to actually define multiple tag names for loopTags:

loopTags: ['for', 'each']
<each loop="item in array">
  {{ item }}
</each>

<for loop="item in array">
  {{ item }}
</for>

If merged, closes #74.

@coveralls
Copy link

coveralls commented May 2, 2020

Coverage Status

Coverage remained the same at 96.939% when pulling 331f5e4 on cossssmin:master into 3e2f583 on posthtml:master.

@cossssmin cossssmin requested review from Scrum and anikethsaha May 2, 2020 16:19
Copy link
Member

@anikethsaha anikethsaha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Scrum
Copy link
Member

Scrum commented May 6, 2020

@cossssmin @anikethsaha Hi guys, Sorry for taking so long

@cossssmin cossssmin requested a review from Scrum May 6, 2020 08:15
@Scrum Scrum merged commit 7b4db25 into posthtml:master May 6, 2020
@Scrum
Copy link
Member

Scrum commented May 6, 2020

@cossssmin Could you still add a description to the documentation as a separate PR?

@cossssmin
Copy link
Member Author

@cossssmin Could you still add a description to the documentation as a separate PR?

Sure thing, sorry about that!

@cossssmin
Copy link
Member Author

Should I also add docs for the other options, like scopeTags?

@Scrum
Copy link
Member

Scrum commented May 6, 2020

If it will not be difficult for you

@Scrum
Copy link
Member

Scrum commented May 6, 2020

@cossssmin publish v1.4.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

loopTags not working with multiple tags

4 participants