Skip to content

Commit

Permalink
serializer: don't forget to reset __$a0 in opt
Browse files Browse the repository at this point in the history
  • Loading branch information
indutny committed Oct 1, 2013
1 parent 07de963 commit 951a4ce
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/xjst/helpers/serializer.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ Serializer.prototype.render = function render(ast, type) {
].concat( ].concat(
'{', '{',
this.addContext(res.join('')), this.addContext(res.join('')),
'this.__$a=0;',
'};\n' '};\n'
).join('') ).join('')
}; };
Expand Down

0 comments on commit 951a4ce

Please sign in to comment.