edi9999/docxtemplater — pull request #38 by tamagokun (2014-06-12 13:08:40+00:00)
Title: Inverted Loops {^tag}

This adds support for using inverted loops similar to Mustache:

```
Template:

{{#repo}}
{{name}}
{{/repo}}
{{^repo}}
No repos :(
{{/repo}}
Hash:

{
"repo": []
}
Output:

No repos :(
```

I realize that loops can be rather complicated whether it is a dash loop, or it is working on an inner tag or outer tag, so please let me know if anything needs more work, or if I should write more tests!

#37