mozilla/nunjucks — pull request #259 by carljm (2014-07-22 18:51:22+00:00)
Title: Else clause in for loops

This implements support for the `{% else %}` clause in a for loop, fixing #197.

I didn't implement support for the else clause in the async loops; since these loops don't exist in Jinja, there's no compatibility issue. If someone wants that support, I'm sure it's possible, I just don't need it and didn't feel like deciphering `_compileAsyncLoop`.