Skip to content
This repository has been archived by the owner on Jan 24, 2021. It is now read-only.

Added SSVE support for conditional on @Current inside @Each #1162

Merged
merged 1 commit into from
Oct 18, 2013

Conversation

thecopy
Copy link
Contributor

@thecopy thecopy commented Jul 23, 2013

@If.HasUsers
Yay Users! 
@EndIf
@Each.Users
    @Current.Name says: 
    @If.IsFromGreece
        <b>Yay Greece!</b>
    @EndIf
    @IfNot.IsFromGreece
        <b>Boo Greece!</b>
    @EndIf
@EndEach

Result:

Yay Users!
Bob says:<b>Yay Greece!</b>
Malin says:<b>Boo Greece!</b>

@thecodejunkie
Copy link
Member

I'll leave this here until @grumpydev is back and have him greenlight this, since we'll be back-porting it into his SSVE repository as well

@grumpydev grumpydev merged commit 3b84f15 into NancyFx:master Oct 18, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants