On Mon, 10 Oct 2011 15:48:58 +0200 Jan Danielsson <jan.m.daniels...@gmail.com> wrote:
> > FWIW: this could be implemented in JavaScript, using the JSON API > > to fetch the actual diffs, and then laying them out in JS (rather > > than C): > > > > http://fossil.wanderinghorse.net/cgi-bin/fossil-json.cgi/json/diff?v1=b0e9b45baed6f885&v2=5f225e261d836287&context=5 > > In my mind, the side-by-side diff shouldn't require javascript. I > think it's a good idea to allow sections to be hidden/shown using > javascript, but by default the diff should work even with javascript > unavailable/disabled or noscript (in firefox) blocking the site. Or > am I being too old-fashioned? I'm with you on this. Your example [1] looks just right to me. All those flashy JS bells and whistles consistently make me think they're really there for the sake of being there. 1. http://cvsweb.netbsd.org/bsdweb.cgi/src/sys/dev/cgd.c.diff?r1=1.72&r2=1.72.2.1&f=h _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users