Skip to content

Commit a4acfd6

Browse files
committed
fixup: do not write "length" to wrapped helper functions
- does not work in IE
1 parent 2aa2572 commit a4acfd6

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/handlebars/internal/wrapHelper.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,5 @@ export function wrapHelper(helper, transformOptionsFn) {
44
arguments[arguments.length - 1] = transformOptionsFn(options);
55
return helper.apply(this, arguments);
66
};
7-
Object.defineProperty(wrapper, 'length', { value: helper.length });
87
return wrapper;
98
}

0 commit comments

Comments
 (0)