Skip to content

Commit 1845af8

Browse files
fix: fix linting errors
1 parent 00054c8 commit 1845af8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/handlebars/compiler/javascript-compiler.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -537,7 +537,9 @@ JavaScriptCompiler.prototype = {
537537

538538
resolvePath: function(type, parts, i, falsy, strict) {
539539
if (this.options.strict || this.options.assumeObjects) {
540-
this.push(strictLookup(this.options.strict && strict, this, parts, i, type));
540+
this.push(
541+
strictLookup(this.options.strict && strict, this, parts, i, type)
542+
);
541543
return;
542544
}
543545

@@ -1263,7 +1265,7 @@ JavaScriptCompiler.isValidJavaScriptVariableName = function(name) {
12631265

12641266
function strictLookup(requireTerminal, compiler, parts, i, type) {
12651267
let stack = compiler.popStack(),
1266-
len = parts.length;
1268+
len = parts.length;
12671269
if (requireTerminal) {
12681270
len--;
12691271
}

0 commit comments

Comments
 (0)