Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
$position in repeat directive can't be both first and last at the same time #912
Currently the $position property inside the repeat directive is either 'first', 'middle' or 'last'.
Since this subtlety can't (reasonably) be represented by a single variable, something else is required. One way to solve it would be to have three boolean properties, $first, $middle and $last instead.