HomePhabricator

hgweb: split graphdata() into jsdata() and nodes()

Authored by av6.

Description

hgweb: split graphdata() into jsdata() and nodes()

nodes keyword passed to the template can be any iterator, but jsdata needs to
be a list because it gets JSONified.

Details

Committed
av6Dec 11 2017, 12:47 AM
Parents
rHG27ab3150cd50: hgweb: calculate <canvas> width and height client-side
Branches
Unknown
Tags
Unknown