Closed TomOne closed 8 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.
noConflict()
Handlebars.noConflict();
It should be changed to this:
var myHandlebars = Handlebars; Handlebars.noConflict();
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: