Skip to content

Commit

Permalink
relax parseTemplateRef and allow any arbitrary expression (fixes #269)
Browse files Browse the repository at this point in the history
  • Loading branch information
jlongster committed Aug 15, 2014
1 parent 91682a5 commit 99c4b78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,7 @@ var Parser = Object.extend({
}

var node = new nodeType(tag.lineno, tag.colno);
node.template = this.parsePrimary();
node.template = this.parseExpression();

this.advanceAfterBlockEnd(tag.value);
return node;
Expand Down

0 comments on commit 99c4b78

Please sign in to comment.