« get me outta code hell

Break up a particularly long line of code - scratchrlol - Simple HTML-based Scratch client
summary refs log tree commit diff
diff options
context:
space:
mode:
authorFlorrie <towerofnix@gmail.com>2018-11-14 22:54:44 -0400
committerFlorrie <towerofnix@gmail.com>2018-11-14 22:54:54 -0400
commitac850d37e7964edaf4ea69aac8a5dfe0c49fca09 (patch)
treefeb9f6fceac3bf266d6def2537d0705d348e15fa
parentd40b9bc2e067b159da76fa02e5da437540556c45 (diff)
Break up a particularly long line of code
Just cleanup!
-rwxr-xr-xindex.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.js b/index.js
index 576a5a8..3ed4996 100755
--- a/index.js
+++ b/index.js
@@ -28,7 +28,8 @@ const page = async (request, response, text) => {
       <body>
         <header>
           ${cookies.username ? fixWS`
-            <p>You are logged in as ${templates.user(cookies.username)}. (<a href="/logout">Log out.</a>) You have ${'' + notificationCount} unread <a href="/notifications">${pluralize('notification', notificationCount)}</a>.</p>`
+            <p>You are logged in as ${templates.user(cookies.username)}. (<a href="/logout">Log out.</a>)
+               You have ${'' + notificationCount} unread <a href="/notifications">${pluralize('notification', notificationCount)}</a>.</p>`
           : fixWS`
             <p>You are not logged in. <a href="/login">Log in.</a></p>
           `}