Skip to content

Commit b98d10c

Browse files
committed
turn concatenated string into a multi-line template string
Signed-off-by: Jake Burden <jake@doge.haus>
1 parent 82c7f9d commit b98d10c

1 file changed

Lines changed: 19 additions & 19 deletions

File tree

public/js/cover.js

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -34,25 +34,25 @@ import S from 'string'
3434

3535
const options = {
3636
valueNames: ['id', 'text', 'timestamp', 'fromNow', 'time', 'tags', 'pinned'],
37-
item: '<li class="col-xs-12 col-sm-6 col-md-6 col-lg-4">' +
38-
'<span class="id" style="display:none;"></span>' +
39-
'<a href="#">' +
40-
'<div class="item">' +
41-
'<div class="ui-history-pin fa fa-thumb-tack fa-fw"></div>' +
42-
'<div class="ui-history-close fa fa-close fa-fw" data-toggle="modal" data-target=".delete-history-modal"></div>' +
43-
'<div class="content">' +
44-
'<h4 class="text"></h4>' +
45-
'<p>' +
46-
'<i><i class="fa fa-clock-o"></i> visited </i><i class="fromNow"></i>' +
47-
'<br>' +
48-
'<i class="timestamp" style="display:none;"></i>' +
49-
'<i class="time"></i>' +
50-
'</p>' +
51-
'<p class="tags"></p>' +
52-
'</div>' +
53-
'</div>' +
54-
'</a>' +
55-
'</li>',
37+
item: `<li class="col-xs-12 col-sm-6 col-md-6 col-lg-4">
38+
<span class="id" style="display:none;"></span>
39+
<a href="#">
40+
<div class="item">
41+
<div class="ui-history-pin fa fa-thumb-tack fa-fw"></div>
42+
<div class="ui-history-close fa fa-close fa-fw" data-toggle="modal" data-target=".delete-history-modal"></div>
43+
<div class="content">
44+
<h4 class="text"></h4>
45+
<p>
46+
<i><i class="fa fa-clock-o"></i> visited </i><i class="fromNow"></i>
47+
<br>
48+
<i class="timestamp" style="display:none;"></i>
49+
<i class="time"></i>
50+
</p>
51+
<p class="tags"></p>
52+
</div>
53+
</div>
54+
</a>
55+
</li>`,
5656
page: 18,
5757
pagination: [{
5858
outerWindow: 1

0 commit comments

Comments
 (0)