joshua655 / v8cgi

Automatically exported from code.google.com/p/v8cgi
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Alternative Templating #60

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I created an alternative templating module based on John Resig's
Microtemplating (http://ejohn.org/blog/javascript-micro-templating/)

One problem i have is regarding newline characters, because of the way John
uses them as dividers for parsing. This causes JS comments using // to fail.

Anyone have a solution?

I wouldnt want to rewrite the parsing code because it is very simple that
way. If there is no simple solution, i guess i would have to leave it that
way and use /* */ for commenting.

Original issue reported on code.google.com by hle...@gmail.com on 19 Feb 2010 at 3:46

Attachments: