Multiline Strings
Peter van der Zee
ecma at qfox.nl
Fri Mar 7 11:52:11 PST 2014
On Fri, Mar 7, 2014 at 8:56 AM, Florian Bösch <pyalot at gmail.com> wrote:
> There's two complications with that. A string doesn't carry the line number
> it comes from. Also, myfile.js might get concated with other files. And
> lastly strings might get pasted together from smaller snippets.
I think you want to take a look at "source maps". They're specifically
designed to deal with this problem.
More information about the es-discuss
mailing list