Skip to content

Documentation issue for Handlebars.noConflict(); #131

@TomOne

Description

@TomOne

The noConflict() function does not work as documented in http://handlebarsjs.com/reference.html#base-noConflict. Handlebars.noConflict(); returns undefined. Therefore it’s useless to assign it to a variable.

It should be changed to this:

var myHandlebars = Handlebars;
Handlebars.noConflict();

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions