Ciąg wielowierszowy JavaScript i nieoczekiwany token ILLEGAL
Mam wieloliniowy szablon napisów w osobnym pliku js do użycia w podkreśleniu js. Jednak bez względu na to, jak uniknę przerw w linii, nadal otrzymuję:
Uncaught SyntaxError: Nieoczekiwany token NIELEGALNY
W wierszu 1 pliku po załadowaniu do przeglądarki.
App.Templates['template1'] = '\
<div data-role="page" data-theme="c" id="" data-title="">\
<div data-role="content" class="subnav">\
<table id="day-table" cellpadding="0" cellspacing="0" border="0">\
<thead class="ui-body-a">\
<tr>\
<th>T</th>\
<th>J</th>\
<th>H</th>\
<th>C</th>\
</tr>\
</thead>\
<tbody>\
</tbody>\
<tfoot>\
<tr>\
<td class="total-label" colspan="2">Total:</td>\
<td class="total"></td>\
</tr>\
<tr>\
<td class="btn-row">\
<a href="#r" data-role="button" id="add-btn" data-rel="dialog" data-mini="true" data-inline="true" data-icon="add">Add Rows</a>\
<a href="#" data-role="button" id="save-btn" data-rel="dialog" data-mini="true" data-inline="true" data-theme="b" data-icon="check">Save</a>\
</td>\
</tr>\
</tfoot>\
</table>\
</div><!--/content-->\
</div><!-- /page -->';
Jakieś pomysły?