[gitg] Improve the code format



commit d1bfae990c4d6d61984d68bafa4bd63f1e198b28
Author: Techlive Zheng <techlivezheng gmail com>
Date:   Thu Dec 19 19:28:38 2013 +0800

    Improve the code format
    
    https://bugzilla.gnome.org/show_bug.cgi?id=720736

 libgitg/resources/diff-view.js |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/libgitg/resources/diff-view.js b/libgitg/resources/diff-view.js
index b23181a..aa1971d 100644
--- a/libgitg/resources/diff-view.js
+++ b/libgitg/resources/diff-view.js
@@ -160,7 +160,11 @@ function update_diff(id, lsettings)
                if (eta > 1000)
                {
                        // Show the progress
-                       content.innerHTML = '<div class="loading">' + settings.strings.loading_diff + 
'</div>';
+                       content.innerHTML = '\
+                               <div class="loading">\
+                                       ' + settings.strings.loading_diff + '\
+                               </div>\
+                       ';
                }
 
                html_builder_progress_timeout = 0;


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