justjohn/twig.js — pull request #12 by hadrienl (2012-02-16 19:15:57+00:00)
Title: fix https://github.com/justjohn/twig.js/issues/11

Add a `loop` object in a `{% for %}` context like in http://twig.sensiolabs.org/doc/tags/for.html :

loop: {
index: Number,
index0: Number,
revindex: Number,
revindex0: Number,
first: Boolean,
last: Boolean,
length: Number,
parent: Object
}