diff options
author | Kevin Decker <kpdecker@gmail.com> | 2014-01-17 16:07:02 -0800 |
---|---|---|
committer | Kevin Decker <kpdecker@gmail.com> | 2014-01-17 16:07:02 -0800 |
commit | 363cb4b0fb56ad98d19c94b0da797cc52fbbfafd (patch) | |
tree | edb6e3838315de835d5200d54bdb9d328e1d8da2 /lib/handlebars/compiler/ast.js | |
parent | 93a3725480d07235afcb4155fd876d650e2ff8c0 (diff) | |
parent | e290ec24f131f89ddf2c6aeb707a4884d41c3c6d (diff) | |
download | handlebars.js-363cb4b0fb56ad98d19c94b0da797cc52fbbfafd.zip handlebars.js-363cb4b0fb56ad98d19c94b0da797cc52fbbfafd.tar.gz handlebars.js-363cb4b0fb56ad98d19c94b0da797cc52fbbfafd.tar.bz2 |
Merge pull request #182 from wycats/partial-hash
Context different for partial
Diffstat (limited to 'lib/handlebars/compiler/ast.js')
-rw-r--r-- | lib/handlebars/compiler/ast.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/handlebars/compiler/ast.js b/lib/handlebars/compiler/ast.js index dda682e..5538f40 100644 --- a/lib/handlebars/compiler/ast.js +++ b/lib/handlebars/compiler/ast.js @@ -97,11 +97,12 @@ var AST = { // pass or at runtime. }, - PartialNode: function(partialName, context, strip, locInfo) { + PartialNode: function(partialName, context, hash, strip, locInfo) { LocationInfo.call(this, locInfo); this.type = "partial"; this.partialName = partialName; this.context = context; + this.hash = hash; this.strip = strip; }, |