Skip to content

Commit

Permalink
Update fix for #926 for 3.0 codeline
Browse files Browse the repository at this point in the history
  • Loading branch information
kpdecker committed Dec 17, 2014
1 parent 59e80c5 commit 6d2239d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/handlebars/compiler/javascript-compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ JavaScriptCompiler.prototype = {
child.index = index;
child.name = 'program' + index;

this.useDepths = this.useDepths || child.depths.list.length;
this.useDepths = this.useDepths || child.useDepths;
}
}
},
Expand Down

0 comments on commit 6d2239d

Please sign in to comment.