c# - Library to write javascript code
- by Melursus
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 ?