diff options
author | kpdecker <kpdecker@gmail.com> | 2014-08-25 00:32:57 -0500 |
---|---|---|
committer | kpdecker <kpdecker@gmail.com> | 2014-08-25 00:32:57 -0500 |
commit | 501a640330187f179955c92cb5624c76c1963f81 (patch) | |
tree | bb8e9cfe2978ad2cabd3b64d1af5fe8bac40458c /lib/handlebars/compiler/compiler.js | |
parent | 477a26913a66593c1384e83af866a71347336ce2 (diff) | |
download | handlebars.js-501a640330187f179955c92cb5624c76c1963f81.zip handlebars.js-501a640330187f179955c92cb5624c76c1963f81.tar.gz handlebars.js-501a640330187f179955c92cb5624c76c1963f81.tar.bz2 |
Allow passing depths to _child
Diffstat (limited to 'lib/handlebars/compiler/compiler.js')
-rw-r--r-- | lib/handlebars/compiler/compiler.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/handlebars/compiler/compiler.js b/lib/handlebars/compiler/compiler.js index 673cde3..eafee74 100644 --- a/lib/handlebars/compiler/compiler.js +++ b/lib/handlebars/compiler/compiler.js @@ -426,11 +426,11 @@ export function compile(input, options, env) { } return compiled._setup(options); }; - ret._child = function(i) { + ret._child = function(i, data, depths) { if (!compiled) { compiled = compileInput(); } - return compiled._child(i); + return compiled._child(i, data, depths); }; return ret; } |