[PATCH 2 of 3] hgweb: parameterize the tag name of elements holding followlines selection

Yuya Nishihara yuya at tcha.org
Fri Jun 23 10:21:28 EDT 2017


On Thu, 22 Jun 2017 16:40:11 +0200, Denis Laxalde wrote:
> # HG changeset patch
> # User Denis Laxalde <denis.laxalde at logilab.fr>
> # Date 1498057671 -7200
> #      Wed Jun 21 17:07:51 2017 +0200
> # Node ID d568b7b353ea6d8ba9c30b1c2d976a88f2962245
> # Parent  a67c2d37caf130131d7a5c659c9ec1428ee75451
> # Available At http://hg.logilab.org/users/dlaxalde/hg
> #              hg pull http://hg.logilab.org/users/dlaxalde/hg -r d568b7b353ea
> hgweb: parameterize the tag name of elements holding followlines selection

Looks good to me, queued, thanks.

> +    // Tag of children of "sourcelines" element on which to add "line
> +    // selection" style.
> +    var selectableTag = sourcelines.dataset.selectabletag;
> +    if (typeof selectableTag === 'undefined') {

Replaced U+00A0 with a plain space.


More information about the Mercurial-devel mailing list