Merge branch 'master' of https://github.com/tf/handlebars.js into tf-master
This commit is contained in:
@@ -94,7 +94,7 @@ Handlebars.registerHelper('if', function(context, fn, inverse) {
|
||||
});
|
||||
|
||||
Handlebars.registerHelper('unless', function(context, fn, inverse) {
|
||||
Handlebars.helpers['if'].call(this, context, inverse, fn);
|
||||
return Handlebars.helpers['if'].call(this, context, inverse, fn);
|
||||
});
|
||||
|
||||
Handlebars.registerHelper('with', function(context, fn) {
|
||||
|
||||
Reference in New Issue
Block a user