Skip to content

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

Open
@romannurik

Description

@romannurik

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions