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