[gitg] Consistent use of space for string continuations



commit 9b71f69420f3a42156cfa50d53a3dba0adaaf092
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Thu Jan 2 14:02:14 2014 +0100

    Consistent use of space for string continuations

 libgitg/resources/diff-view-html-builder.js |   12 ++++++------
 libgitg/resources/diff-view.js              |    8 ++++----
 2 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/libgitg/resources/diff-view-html-builder.js b/libgitg/resources/diff-view-html-builder.js
index 4f250c4..3aafdd0 100644
--- a/libgitg/resources/diff-view-html-builder.js
+++ b/libgitg/resources/diff-view-html-builder.js
@@ -18,11 +18,11 @@ function diff_file(file, lnstate, data)
 
                if (!h)
                {
-                       file_body += '<tr class="context">\
-                               <td class="gutter old">' + lnstate.gutterdots + '</td>\
-                               <td class="gutter new">' + lnstate.gutterdots + '</td>\
-                               <td class="gutter type">&nbsp;</td>\
-                               <td></td>\
+                       file_body += '<tr class="context"> \
+                               <td class="gutter old">' + lnstate.gutterdots + '</td> \
+                               <td class="gutter new">' + lnstate.gutterdots + '</td> \
+                               <td class="gutter type">&nbsp;</td> \
+                               <td></td> \
                        </tr>';
                        continue;
                }
@@ -34,7 +34,7 @@ function diff_file(file, lnstate, data)
 
                hunk_header = hunk_header;
 
-               file_body += '<tr class="hunk_header">\
+               file_body += '<tr class="hunk_header"> \
                        <td class="gutter old">' + lnstate.gutterdots + '</td> \
                        <td class="gutter new">' + lnstate.gutterdots + '</td> \
                        <td class="gutter type">&nbsp;</td> \
diff --git a/libgitg/resources/diff-view.js b/libgitg/resources/diff-view.js
index c976555..97fd19a 100644
--- a/libgitg/resources/diff-view.js
+++ b/libgitg/resources/diff-view.js
@@ -370,10 +370,10 @@ function update_diff(id, lsettings)
                if (eta > 1000)
                {
                        // Show the progress
-                       content.html('\
-                               <div class="loading">\
-                                       ' + settings.strings.loading_diff + '\
-                               </div>\
+                       content.html(' \
+                               <div class="loading"> \
+                                       ' + settings.strings.loading_diff + ' \
+                               </div> \
                        ');
 
                        update_has_selection();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]