wycats / handlebars-site

56 stars 66 forks source link

Documentation issue for Handlebars.noConflict(); #131

Closed TomOne closed 8 years ago

TomOne commented 9 years ago

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();