Provide a way to use Collections.reverse(...) in el #257

xfr-dev opened this Issue Jun 1, 2016 · 2 comments


None yet

2 participants

xfr-dev commented Jun 1, 2016

I think it would be useful to be able to use Collections.reverse(...) in el. Using directly a function or indirectly by converting to an array first.

@BalusC BalusC added a commit that referenced this issue Jun 3, 2016
@BalusC BalusC #257: added of:reverseArray() d43dac0
BalusC commented Jun 8, 2016 edited

The view isn't supposed to directly manipulate the model, so Collections#reverse(), which would directly reflect changes back in the model, isn't a good idea. I have at least added #{of:reverseArray()} which returns a copy of the given array, in reversed order.

It's available in 2.4-SNAPSHOT.

@BalusC BalusC closed this Jun 8, 2016
xfr-dev commented Jun 10, 2016

Ok, i agree with you statement and i will test this as soon as possible. Thank you.

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