[PATCH] downloads: initialize downloader from sources.js earlier

Sean Farley sean at farley.io
Sun May 14 23:06:26 EDT 2017


Kevin Bullock <kbullock+mercurial at ringworld.org> writes:

> # HG changeset patch
> # User Kevin Bullock <kbullock+mercurial at ringworld.org>
> # Date 1494816447 18000
> #      Sun May 14 21:47:27 2017 -0500
> # Node ID 4b88b3c4fc807a3d1e9a98b670e2f710796e73c1
> # Parent  c65b81353b8f9e370dc329e0a7ba1c2441d215a8
> downloads: initialize downloader from sources.js earlier
>
> c65b81353b8f inadvertently broke the /downloads page by moving the call
> to Downloader.init(sources) later in the rendering process, after the
> downloads list has already been written. As a stopgap, we introduce an
> earlier call to initialize the versions before attempting to render the
> list. Future changes will move this inline script into an onload
> function.

Ah, thanks, queued!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 800 bytes
Desc: not available
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20170514/06e14a54/attachment.sig>


More information about the Mercurial-devel mailing list