obviously works (https://jsfiddle.net/vva7musq/25/), the following template does run into an error when executing the template with { some: 'stuff' } as input:
This should work, shouldn't it? Or is there something I have missed. The error is:
helpers is not defined
anonymous@https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.10/handlebars.js line 3670 > Function:5:162
executeDecorators@https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.10/handlebars.js:1340:13
ret@https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.10/handlebars.js:1215:13
ret@https://cdnjs.cloudflare.com/ajax/libs/handlebars.js/4.0.10/handlebars.js:3488:13
window.onload@https://fiddle.jshell.net/_display/:56:49
I am labeling this as feature, because I want to deprecate custom decorators. It is a deficite with inline partials, but currently, it is just something we do not support.
While investigating on #1371, I have noticed, that while
obviously works (https://jsfiddle.net/vva7musq/25/), the following template does run into an error when executing the template with
{ some: 'stuff' }
as input:see https://jsfiddle.net/vva7musq/28/
This should work, shouldn't it? Or is there something I have missed. The error is:
The AST looks fine as far as I can tell.