Closed bradoyler closed 8 years ago
of course, if I change:
var source = '{{#if-test "y"}}works!{{/if-test}}';
to:
var source = '{{#if "y"}}works!{{/if}}';
everything works as expected. So I'm not sure why the helper being passed thru the create()
isn't registering the custom helper.
@ericf Ah, I just had to add the line:
hbs.handlebars.helpers = helpers;
before I ran compile.
Hey @ericf I'm trying to get this setup working:
But...I get error:
Any idea what I'm missing? Just trying to accomplish some custom helper testing.