comparison mercurial/discovery.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 ba959f6e10f8
children 39d1f83eb05d
comparison
equal deleted inserted replaced
16137:8fd18eb8aab7 16138:6e4de55a41a4