summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/compiler/compiler.js
diff options
context:
space:
mode:
authorkpdecker <kpdecker@gmail.com>2015-02-10 20:40:53 -0600
committerkpdecker <kpdecker@gmail.com>2015-02-10 20:40:53 -0600
commitc15f90e513640975c41b001f8035cf88711fa608 (patch)
treefe710868c047eacfdb5b5616ef9ecb22f884fd31 /lib/handlebars/compiler/compiler.js
parent0099e16a01bae4789c3560e2a658fdd7fecc9e12 (diff)
downloadhandlebars.js-c15f90e513640975c41b001f8035cf88711fa608.zip
handlebars.js-c15f90e513640975c41b001f8035cf88711fa608.tar.gz
handlebars.js-c15f90e513640975c41b001f8035cf88711fa608.tar.bz2
Fix typo
Diffstat (limited to 'lib/handlebars/compiler/compiler.js')
-rw-r--r--lib/handlebars/compiler/compiler.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/handlebars/compiler/compiler.js b/lib/handlebars/compiler/compiler.js
index 21de99c..e1b4dfb 100644
--- a/lib/handlebars/compiler/compiler.js
+++ b/lib/handlebars/compiler/compiler.js
@@ -494,6 +494,6 @@ function transformLiteralToPath(sexpr) {
var literal = sexpr.path;
// Casting to string here to make false and 0 literal values play nicely with the rest
// of the system.
- sexpr.path = new AST.PathExpression(false, 0, [literal.original+''], literal.original+'', literal.log);
+ sexpr.path = new AST.PathExpression(false, 0, [literal.original+''], literal.original+'', literal.loc);
}
}