[gitg] Rename 'hunkheader' to 'hunk_header'
- From: Techlive Zheng <techlivezh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Rename 'hunkheader' to 'hunk_header'
- Date: Mon, 23 Dec 2013 16:46:05 +0000 (UTC)
commit cf930ae22bbd7baf4d271c3879f6eb17bf321d16
Author: Techlive Zheng <techlivezheng gmail com>
Date: Wed Dec 18 07:04:23 2013 +0800
Rename 'hunkheader' to 'hunk_header'
https://bugzilla.gnome.org/show_bug.cgi?id=720886
libgitg/resources/diff-view-html-builder.js | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgitg/resources/diff-view-html-builder.js b/libgitg/resources/diff-view-html-builder.js
index 1f5606a..db88885 100644
--- a/libgitg/resources/diff-view-html-builder.js
+++ b/libgitg/resources/diff-view-html-builder.js
@@ -19,7 +19,7 @@ function diff_file(file, lnstate, data)
var cold = h.range.old.start;
var cnew = h.range.new.start;
- var hunkheader = '<span class="hunk_header">@@ -' + h.range.old.start + ',' +
h.range.old.lines + ' +' + h.range.new.start + ',' + h.range.new.lines + ' @@</span>';
+ var hunk_header = '<span class="hunk_header">@@ -' + h.range.old.start + ',' +
h.range.old.lines + ' +' + h.range.new.start + ',' + h.range.new.lines + ' @@</span>';
if (data.settings.staged || data.settings.unstaged)
{
@@ -36,13 +36,13 @@ function diff_file(file, lnstate, data)
nm = data.settings.strings.stage;
}
- hunkheader = '<span class="' + cls + '">' + nm + '</span>' + hunkheader;
+ hunk_header = '<span class="' + cls + '">' + nm + '</span>' + hunk_header;
}
file_body += '<tr class="hunk_header">\
<td class="gutter old">' + lnstate.gutterdots + '</td> \
<td class="gutter new">' + lnstate.gutterdots + '</td> \
- <td class="hunk_header">' + hunkheader + '</td> \
+ <td class="hunk_header">' + hunk_header + '</td> \
</tr>';
for (var j = 0; j < h.lines.length; ++j)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]