Kevin Bullock <kbullock+mercur...@ringworld.org> writes:

> # HG changeset patch
> # User Kevin Bullock <kbullock+mercur...@ringworld.org>
> # Date 1494436785 18000
> #      Wed May 10 12:19:45 2017 -0500
> # Node ID f194cff8d65af231bf2cb1780daaecef2b0ed3d3
> # Parent  130a8e2a946d71eaf031420fa43e9a0d0f7a6e8d
> downloads: replace inline scripts with an onload function
>
> diff --git a/static/js/download.js b/static/js/download.js
> --- a/static/js/download.js
> +++ b/static/js/download.js
> @@ -132,3 +132,21 @@ var Downloader = {
>          return out;
>      }
>  };
> +
> +(function (document, window) {
> +  var load = function () {
> +    Downloader.init(sources);
> +    var dl = Downloader.select();
> +    var versElement = document.getElementById('download-version')
> +      , descElement = document.getElementById('download-description');

Man, I hate javascript. Anyway, queued!

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to