Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The JavaScriptCompiler API docs sample code is broken as of 4.6 #1912

Open
romannurik opened this issue Nov 25, 2022 · 0 comments
Open

The JavaScriptCompiler API docs sample code is broken as of 4.6 #1912

romannurik opened this issue Nov 25, 2022 · 0 comments

Comments

@romannurik
Copy link

Just a note, that the sample code for subclassing JavaScriptCompiler in the docs is broken as of ~4.6 with:

TypeError: name.toLowerCase is not a function

(It works with handlebars 4.5 but fails with 4.6)

You can test this by swapping the handlebars.js version used in the linked jsfiddle with the latest version (4.7.7).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants