I'm getting the following error: SyntaxError: unterminated string literal.
Seems like there is a problem with the first data +=
command. What is wrong with it? I don't break any line.
// Data
var data = "<!doctype html><html><head>";
data += "<script type='text/javascript' src='test1.js'></script>";
data += "</head><body>TEST</body></html>";