Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

{{#each}} support for @first/@last/@index/@odd/@even #24

Open
raix opened this issue Dec 3, 2014 · 20 comments
Open

{{#each}} support for @first/@last/@index/@odd/@even #24

raix opened this issue Dec 3, 2014 · 20 comments

Comments

@raix
Copy link
Contributor

raix commented Dec 3, 2014

We are past 1.0 - Core stated that this will be implemented - Keeping a track of references here

meteor/meteor#3075
meteor/meteor#2587
meteor/meteor#912
http://stackoverflow.com/questions/13430455/using-index-in-meteor-each-iterator-doesnt-work/20812459#20812459

@dandv
Copy link
Member

dandv commented Dec 3, 2014

This would be great to have.

@mitar
Copy link

mitar commented Dec 18, 2014

+1

@hyperborea
Copy link

+1!

@bellwood
Copy link

+1

1 similar comment
@devonbarrett
Copy link

👍

@rossmartin
Copy link

Yes please :~)

@MomchilGorchev
Copy link

Solid +1

@TomBrouws
Copy link

This would be enormously helpful!

@joaobarcia
Copy link

+1 ! +2 actually

@yves-christol
Copy link

Definitely useful for more elegant templates

@acloudburo
Copy link

+1

@machwatt
Copy link

+1 can't wait for it

@joaobarcia
Copy link

Hi guys, just to let everyone @index is available in 1.2 release candidate and works quite well :)

More info at https://forums.meteor.com/t/help-test-the-preview-release-with-new-upcoming-blaze-features-each-in-let-index/637

I don't think @FIRST, @last, @odd and @even are being implemented, though

@bellwood
Copy link

C'mon meteor, chip chop chip!

@zimme
Copy link
Member

zimme commented Sep 21, 2015

@joaobarcia, with index, doing first, last, odd and even isn't that hard when you need it. So I don't think it's a priority for MDG

@cesarve77
Copy link

+1

@sandervanhooft
Copy link

+1 . These array template features would be great!

@andrei-markeev
Copy link

+1 Implementing it manually every time is quite bulky, especially the @last test.

@bellwood
Copy link

bellwood commented Dec 7, 2015

@andrei-markeev it's not even documented (that I've seen) how to manually implement them... If they can't be bothered to add a basic core feature then they should at least document the work-around.

My high hopes for meteor have slowly dwindled as core features have gone missing and non-document based data stores have gone on officially unsupported

Such great potential

@fvpDev
Copy link

fvpDev commented Jan 1, 2016

+10

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

No branches or pull requests