noop should return an empty String, not undefined
This commit is contained in:
@@ -608,7 +608,7 @@ Handlebars.VM = {
|
||||
return fn(context, helpers, partials);
|
||||
};
|
||||
},
|
||||
noop: function() {},
|
||||
noop: function() { return ""; },
|
||||
compile: function(string) {
|
||||
var ast = Handlebars.parse(string);
|
||||
var environment = new Handlebars.Compiler().compile(ast);
|
||||
|
||||
Reference in New Issue
Block a user