correctly self-compiling @references

This commit is contained in:
Jeremy Ashkenas
2010-02-12 13:56:58 -05:00
parent e2ad1190ac
commit dbcb9df22b
2 changed files with 2 additions and 2 deletions

View File

@@ -568,7 +568,7 @@
return this;
},
compile_node: function compile_node(o) {
return 'this' + (this.property ? '.' + this.property : '');
return 'this' + (this.property ? '.' + this.property.compile(o) : '');
}
}));
// A range literal. Ranges can be used to extract portions (slices) of arrays,