c# - 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
2:11 UTC
Read the original article
Hit count: 348
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