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

%index doesn't work with can.Map values in master #2067

Closed
akagomez opened this Issue Nov 9, 2015 · 3 comments

Comments

Projects
None yet
3 participants
@akagomez
Contributor

akagomez commented Nov 9, 2015

The {{(at)index}} stache helper/keyword will not render an index if the value at that index is a map.

See: http://jsbin.com/qogafo/edit?html,js,output

@akagomez akagomez changed the title from @index doesn't work in with can.Map values in master to @index doesn't work with can.Map values in master Nov 9, 2015

@pYr0x

This comment has been minimized.

Show comment
Hide comment
@pYr0x

pYr0x Nov 10, 2015

should {{@index}} not be replaced by {{%index}} ?
http://canjs.com/docs/can.stache.key.html

pYr0x commented Nov 10, 2015

should {{@index}} not be replaced by {{%index}} ?
http://canjs.com/docs/can.stache.key.html

@akagomez

This comment has been minimized.

Show comment
Hide comment
@akagomez

akagomez Nov 10, 2015

Contributor

Maybe. Didn't work for me though.

Contributor

akagomez commented Nov 10, 2015

Maybe. Didn't work for me though.

@justinbmeyer

This comment has been minimized.

Show comment
Hide comment
@justinbmeyer

justinbmeyer Nov 12, 2015

Contributor

It should be %index, but work both ways for now.

Contributor

justinbmeyer commented Nov 12, 2015

It should be %index, but work both ways for now.

@justinbmeyer justinbmeyer changed the title from @index doesn't work with can.Map values in master to %index doesn't work with can.Map values in master Nov 12, 2015

@justinbmeyer justinbmeyer added the bug label Nov 12, 2015

@justinbmeyer justinbmeyer added this to the 2.3.3 milestone Nov 12, 2015

justinbmeyer added a commit that referenced this issue Nov 13, 2015

justinbmeyer added a commit that referenced this issue Nov 30, 2015

@daffl daffl closed this in #2082 Nov 30, 2015

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