chrisdickinson / plate

a javascript template library, aimed at being compatible with django's template language.
183 stars 16 forks source link

failure in async `for` node target results in infinite retry #17

Open chrisdickinson opened 10 years ago

chrisdickinson commented 10 years ago
{% for x in get_things %}

{% endfor %}
template.render({get_things: fail}, function(err, data) {

})

function fail(ready) {
  ready(new Error('this repeats infinitely'))
}