Permalink
Browse files

Merge pull request #1 from jkbr/patch-1

Fixed "Uncaught SyntaxError: Unexpected identifier" after loops.
  • Loading branch information...
2 parents baabd67 + d06f580 commit d91c47cf8bf2be8a7643da8a9fa6f853149e3ca5 @ZeeAgency ZeeAgency committed Apr 3, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 tpl.js
View
@@ -46,7 +46,7 @@
})
.replace(c.evaluate || null, function(match, code) {
return "');" + code.replace(/\\'/g, "'")
- .replace(/[\r\n\t]/g, ' ') + "__p.push('";
+ .replace(/[\r\n\t]/g, ' ') + "; __p.push('";
})
.replace(/\r/g, '')
.replace(/\n/g, '')

0 comments on commit d91c47c

Please sign in to comment.