Skip to content

Commit 08093d7

Browse files
committed
Remove unused parameters
1 parent 958273c commit 08093d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/handlebars/compiler/javascript-compiler.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -644,7 +644,7 @@ JavaScriptCompiler.prototype = {
644644
// and pushes the result of the invocation back.
645645
invokePartial: function(isDynamic, name, indent) {
646646
let params = [],
647-
options = this.setupParams(name, 1, params, false);
647+
options = this.setupParams(name, 1, params);
648648

649649
if (isDynamic) {
650650
name = this.popStack();
@@ -1003,7 +1003,7 @@ JavaScriptCompiler.prototype = {
10031003
},
10041004

10051005
setupHelperArgs: function(helper, paramSize, params, useRegister) {
1006-
let options = this.setupParams(helper, paramSize, params, true);
1006+
let options = this.setupParams(helper, paramSize, params);
10071007
options = this.objectLiteral(options);
10081008
if (useRegister) {
10091009
this.useRegister('options');

0 commit comments

Comments
 (0)