summaryrefslogtreecommitdiffstats
path: root/lib/handlebars/ast.js
diff options
context:
space:
mode:
authorwycats <wycats@gmail.com>2010-11-28 17:36:05 -0800
committerwycats <wycats@gmail.com>2010-11-28 17:36:05 -0800
commit9846fb8a286a9c8d9d4d90c92be5789ebaba5910 (patch)
treeedf3f132d3ddc98ace8e91f1917264765b1f2e08 /lib/handlebars/ast.js
parent454d0a85b7333fb6675e759ae1259a0e5dc6c6b7 (diff)
downloadhandlebars.js-9846fb8a286a9c8d9d4d90c92be5789ebaba5910.zip
handlebars.js-9846fb8a286a9c8d9d4d90c92be5789ebaba5910.tar.gz
handlebars.js-9846fb8a286a9c8d9d4d90c92be5789ebaba5910.tar.bz2
Got Qunit tests running through RSpec and fixed a bunch of bugs... 33 fails from the original suite to go
Diffstat (limited to 'lib/handlebars/ast.js')
-rw-r--r--lib/handlebars/ast.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/handlebars/ast.js b/lib/handlebars/ast.js
index ca9ffd1..fdd37a3 100644
--- a/lib/handlebars/ast.js
+++ b/lib/handlebars/ast.js
@@ -32,7 +32,6 @@ Handlebars.AST.ContentNode = function(string) {
Handlebars.AST.IdNode = function(parts) {
this.type = "ID"
- this.parts = parts;
var dig = [], depth = 0;
@@ -44,7 +43,7 @@ Handlebars.AST.IdNode = function(parts) {
else { dig.push(part) }
}
- this.dig = dig;
+ this.parts = dig;
this.depth = depth;
}