This issue is following conversation with @nknapp here: c997020#commitcomment-23827796
Issue is regarding the example in the compiler-api.md doc here: https://github.com/wycats/handlebars.js/blob/c9970200a04a8629b5e9b1ed3c540d391ab00f26/docs/compiler-api.md#L307
When using the with helper, the lookupLowerCase helper no longer gets called. I think the with helper is being executed with the original Handlebars, not the MyCompiler.
Here is a jsfiddle to demonstrate: https://jsfiddle.net/ujp6v98h/
I tried getting it to use MyCompiler when comping the content in the with-helper without success (got an infinite loop with my implementation).
This issue is following conversation with @nknapp here: c997020#commitcomment-23827796
Issue is regarding the example in the compiler-api.md doc here: https://github.com/wycats/handlebars.js/blob/c9970200a04a8629b5e9b1ed3c540d391ab00f26/docs/compiler-api.md#L307
When using the with helper, the lookupLowerCase helper no longer gets called. I think the with helper is being executed with the original Handlebars, not the MyCompiler.
Here is a jsfiddle to demonstrate: https://jsfiddle.net/ujp6v98h/
I tried getting it to use MyCompiler when comping the content in the with-helper without success (got an infinite loop with my implementation).