Remove nested function eval in blockHelperMissing

This only worked when a function returned a function, which was then evaluated. This seems like unexpected behavior so this was dropped.
This commit is contained in:
kpdecker
2014-08-14 23:10:17 -05:00
parent c71ca34fd3
commit 6f22ec1e01
-2
View File
@@ -69,8 +69,6 @@ function registerDefaultHelpers(instance) {
var inverse = options.inverse,
fn = options.fn;
if (isFunction(context)) { context = context.call(this); }
if(context === true) {
return fn(this);
} else if(context === false || context == null) {