Remove obsolete code

As well as some format and comment improvements.
This commit is contained in:
Techlive Zheng 2013-12-07 23:15:55 +08:00
parent d1bfae990c
commit ccb68e1560
3 changed files with 2 additions and 3 deletions

View file

@ -171,7 +171,6 @@ function diff_files(files, lines, maxlines, data)
var repl = [
'FILEPATH',
'GUTTER_DOTS',
'TABLE_BODY',
'STATS'
];

View file

@ -19,7 +19,7 @@
<div class="sha1"></div>
</div>
<!-- Hunk template -->
<!-- Diff template -->
<div class="file">
<table class="contents">
<colgroup>

View file

@ -25,7 +25,7 @@ var settings = {
stage: 'stage',
unstage: 'unstage',
loading_diff: 'Loading diff...'
}
},
};
if ('settings' in params)