summaryrefslogtreecommitdiff
path: root/public/js
diff options
context:
space:
mode:
authorJake Burden2018-06-22 15:34:53 -0400
committerJake Burden2018-06-22 18:08:47 -0400
commitb98d10c79a98d8e369fb3ea8e4e4218bf90448dd (patch)
treec3c55656f30a9e656f829da2aa95d6cd980f7cca /public/js
parent82c7f9d07cfecfc110af8c8fc0e47edf070596b2 (diff)
turn concatenated string into a multi-line template string
Signed-off-by: Jake Burden <jake@doge.haus>
Diffstat (limited to 'public/js')
-rw-r--r--public/js/cover.js38
1 files changed, 19 insertions, 19 deletions
diff --git a/public/js/cover.js b/public/js/cover.js
index 2a09b4c3..6ca05f6f 100644
--- a/public/js/cover.js
+++ b/public/js/cover.js
@@ -34,25 +34,25 @@ import S from 'string'
const options = {
valueNames: ['id', 'text', 'timestamp', 'fromNow', 'time', 'tags', 'pinned'],
- item: '<li class="col-xs-12 col-sm-6 col-md-6 col-lg-4">' +
- '<span class="id" style="display:none;"></span>' +
- '<a href="#">' +
- '<div class="item">' +
- '<div class="ui-history-pin fa fa-thumb-tack fa-fw"></div>' +
- '<div class="ui-history-close fa fa-close fa-fw" data-toggle="modal" data-target=".delete-history-modal"></div>' +
- '<div class="content">' +
- '<h4 class="text"></h4>' +
- '<p>' +
- '<i><i class="fa fa-clock-o"></i> visited </i><i class="fromNow"></i>' +
- '<br>' +
- '<i class="timestamp" style="display:none;"></i>' +
- '<i class="time"></i>' +
- '</p>' +
- '<p class="tags"></p>' +
- '</div>' +
- '</div>' +
- '</a>' +
- '</li>',
+ item: `<li class="col-xs-12 col-sm-6 col-md-6 col-lg-4">
+ <span class="id" style="display:none;"></span>
+ <a href="#">
+ <div class="item">
+ <div class="ui-history-pin fa fa-thumb-tack fa-fw"></div>
+ <div class="ui-history-close fa fa-close fa-fw" data-toggle="modal" data-target=".delete-history-modal"></div>
+ <div class="content">
+ <h4 class="text"></h4>
+ <p>
+ <i><i class="fa fa-clock-o"></i> visited </i><i class="fromNow"></i>
+ <br>
+ <i class="timestamp" style="display:none;"></i>
+ <i class="time"></i>
+ </p>
+ <p class="tags"></p>
+ </div>
+ </div>
+ </a>
+ </li>`,
page: 18,
pagination: [{
outerWindow: 1