[PATCH 1 of 3] hgweb: remove unused Graph.cur property
Anton Shestakov
av6 at dwimlabs.net
Wed Dec 6 08:35:08 UTC 2017
# HG changeset patch
# User Anton Shestakov <av6 at dwimlabs.net>
# Date 1512532759 -28800
# Wed Dec 06 11:59:19 2017 +0800
# Node ID 20b6f1981b961369ce5004c5a48da3fe8b6b10ff
# Parent aa14b97727c79991683a2ffd45986d18e3657576
# EXP-Topic hgweb-cleanup
hgweb: remove unused Graph.cur property
It was introduced in 0dba955c2636, but was already unused. I missed it in
e46f0b653002.
diff --git a/mercurial/templates/static/mercurial.js b/mercurial/templates/static/mercurial.js
--- a/mercurial/templates/static/mercurial.js
+++ b/mercurial/templates/static/mercurial.js
@@ -29,7 +29,6 @@ function Graph() {
this.ctx = this.canvas.getContext('2d');
this.ctx.strokeStyle = 'rgb(0, 0, 0)';
this.ctx.fillStyle = 'rgb(0, 0, 0)';
- this.cur = [0, 0];
this.bg = [0, 4];
this.cell = [2, 0];
this.columns = 0;
More information about the Mercurial-devel
mailing list