Library to write javascript code
Posted
by Melursus
on Stack Overflow
See other posts from Stack Overflow
or by Melursus
Published on 2010-03-19T02:07:43Z
Indexed on
2010/03/19
5:51 UTC
Read the original article
Hit count: 232
Is there a c# library that can help to write and indent Javascript code.
It's because I'm writing some c# code that generated some Javascript code. Something like this :
js += "<script type=\"text/javascript\">\n";
js += " function()...\n";
And I find that generated a lot of ugly code.
So, I thought that maybe a existing library can help me doing that ?
© Stack Overflow or respective owner