mustache / spec

The Mustache spec.
MIT License
364 stars 71 forks source link

Allow iterating over implicit iterators. #81

Closed bobthecow closed 9 years ago

bobthecow commented 9 years ago

Implicit iterators should be treated just like explicit tags, i.e. they should work for iterating over nested arrays.

{{#items}}
  {{#.}}
    {{.}}
  {{/.}}
{{/items}}

See mustache/mustache#177

bobthecow commented 9 years ago

This already passes in Mustache.php and Mustache.js. Per mustache/mustache#177, it looks like it doesn't pass in Ruby.

groue commented 9 years ago

It already passes in GRMustache as well.

bobthecow commented 9 years ago

It already passes in GRMustache as well.

:+1:

locks commented 9 years ago

:dancers: :dancer: :dancers:

dasilvacontin commented 9 years ago

:shipit:

ianka commented 9 years ago

Spec is still at version 1.1.2. Shouldn't it have been incremented?

bobthecow commented 9 years ago

Yeah, it looks like nobody tagged a release for this. It should prolly be tagged as 1.1.3.

@locks can you do that?

locks commented 9 years ago

https://github.com/mustache/spec/releases/tag/v1.1.3 @bobthecow @ianka :+1: ?

bobthecow commented 9 years ago

:+1:

Was that already there, or is GitHub's tag page just intentionally confusing?

locks commented 9 years ago

Nope, just added it right now

ianka commented 9 years ago

I have updated mustache.tcl's version right now, thanks.