donpark/hbs — pull request #26 by rikkertkoppes (2012-07-16 17:40:35+00:00)
Title: fix for fast async helpers that proceed in the same tick

fast async helpers fail, because they are executed within the same tick. Therefore, postpone executing the helper to the nextTick(). Testcase:

hbs.registerAsyncHelper('foo', function(context,cb) {
cb('bar');
});