I've recently started getting a little creative with how I handle my js source files. I'm using a build processing for javascript developement, and I really like it.
I've also started playing with a few javascript template engines.
I want to include my templates in my js files. Multi-line strings are, of course, very hard to deal with in javascript, making the thought of including a large template inline in javascript unappealing.
It recently occured to me that I could change my build process to deal with multi-line strings, simply using a preprocesser that checks for something like python's triple quotes (""") which allow programmers to easily work with multi-line strings.
Does anyone know of an existing tool that uses this approach?