From daa4bbf9b3f90dba9d1648215b30c627b12fef0f Mon Sep 17 00:00:00 2001 From: Mike Lynch Date: Sat, 11 Jan 2025 15:33:50 +1100 Subject: [PATCH] Added comment indicating where I got the download code from --- src/components/download.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/components/download.js b/src/components/download.js index cbfdbc0..d0ce83b 100644 --- a/src/components/download.js +++ b/src/components/download.js @@ -1,3 +1,7 @@ +// adapted from the DOM.download method as per this issue: + +// https://github.com/observablehq/framework/issues/906 + const xmlns = "http://www.w3.org/2000/xmlns/"; const xlinkns = "http://www.w3.org/1999/xlink"; const svgns = "http://www.w3.org/2000/svg";