Permalink
Browse files

serializer: don't forget to reset __$a0 in opt

  • Loading branch information...
1 parent 07de963 commit 951a4ce48c62f6f86fd1ad887083bb155740edcf @indutny indutny committed Oct 1, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 lib/xjst/helpers/serializer.js
@@ -360,6 +360,7 @@ Serializer.prototype.render = function render(ast, type) {
].concat(
'{',
this.addContext(res.join('')),
+ 'this.__$a=0;',
'};\n'
).join('')
};

0 comments on commit 951a4ce

Please sign in to comment.