[gitg] Remove obsolete code



commit ccb68e1560b8c70f0afee25a3f9fff2b62a90f0d
Author: Techlive Zheng <techlivezheng gmail com>
Date:   Sat Dec 7 23:15:55 2013 +0800

    Remove obsolete code
    
    As well as some format and comment improvements.

 libgitg/resources/diff-view-html-builder.js |    1 -
 libgitg/resources/diff-view.html            |    2 +-
 libgitg/resources/diff-view.js              |    2 +-
 3 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/libgitg/resources/diff-view-html-builder.js b/libgitg/resources/diff-view-html-builder.js
index b58e6c9..4389f55 100644
--- a/libgitg/resources/diff-view-html-builder.js
+++ b/libgitg/resources/diff-view-html-builder.js
@@ -171,7 +171,6 @@ function diff_files(files, lines, maxlines, data)
 
        var repl = [
                'FILEPATH',
-               'GUTTER_DOTS',
                'TABLE_BODY',
                'STATS'
        ];
diff --git a/libgitg/resources/diff-view.html b/libgitg/resources/diff-view.html
index f094f6d..7eb2e30 100644
--- a/libgitg/resources/diff-view.html
+++ b/libgitg/resources/diff-view.html
@@ -19,7 +19,7 @@
         <div class="sha1"></div>
       </div>
 
-      <!-- Hunk template -->
+      <!-- Diff template -->
       <div class="file">
         <table class="contents">
           <colgroup>
diff --git a/libgitg/resources/diff-view.js b/libgitg/resources/diff-view.js
index aa1971d..63a2f74 100644
--- a/libgitg/resources/diff-view.js
+++ b/libgitg/resources/diff-view.js
@@ -25,7 +25,7 @@ var settings = {
                stage: 'stage',
                unstage: 'unstage',
                loading_diff: 'Loading diff...'
-       }
+       },
 };
 
 if ('settings' in params)


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