Mercurial > hg
comparison mercurial/cmdutil.py @ 16138:6e4de55a41a4
hgweb: refactor graph customization javascript
- Avoid flipping lineWidth state around the edge() call, pass it to the
function instead.
- Pass the line width and color appended to the other parameters instead of in
a dictionary. The javascript code is simpler, no need to check for all
containers existence, and the JSON output is smaller.
- Reindent setColor() comments and fix code spacing.
author | Patrick Mezard <patrick@mezard.eu> |
---|---|
date | Sun, 22 Jan 2012 19:35:26 +0700 |
parents | f7e0d95d0a0b |
children | 60101427d618 |
comparison
equal
deleted
inserted
replaced
16137:8fd18eb8aab7 | 16138:6e4de55a41a4 |
---|