Rename 'filepath' to 'file_path'

https://bugzilla.gnome.org/show_bug.cgi?id=720886
This commit is contained in:
Techlive Zheng 2013-12-17 19:11:15 +08:00
parent ac5edaa4a5
commit a9562eab3c
2 changed files with 6 additions and 6 deletions

View file

@ -113,15 +113,15 @@ function diff_file(file, lnstate, data)
}
}
var filepath;
var file_path;
if (file.file.new.path)
{
filepath = file.file.new.path;
file_path = file.file.new.path;
}
else
{
filepath = file.file.old.path;
file_path = file.file.old.path;
}
var total = added + removed;
@ -150,7 +150,7 @@ function diff_file(file, lnstate, data)
var template = data.file_template;
var repls = {
'FILEPATH': filepath,
'FILE_PATH': file_path,
'TABLE_BODY': table_body,
'STATS': stats,
};
@ -174,7 +174,7 @@ function diff_files(files, lines, maxlines, data)
var f = '';
var repl = [
'FILEPATH',
'FILE_PATH',
'TABLE_BODY',
'STATS'
];

View file

@ -29,7 +29,7 @@
</colgroup>
<tbody>
<tr class="file_header">
<td colspan="3"><!-- ${STATS} --><span class="file_path"><!-- ${FILEPATH} --></span></td>
<td colspan="3"><!-- ${STATS} --><span class="file_path"><!-- ${FILE_PATH} --></span></td>
</tr>
<!-- ${TABLE_BODY} -->
</tbody>