Added comment indicating where I got the download code from

pull/17/head
Mike Lynch 2025-01-11 15:33:50 +11:00
parent d7bccd620e
commit daa4bbf9b3
1 changed files with 4 additions and 0 deletions

View File

@ -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 xmlns = "http://www.w3.org/2000/xmlns/";
const xlinkns = "http://www.w3.org/1999/xlink"; const xlinkns = "http://www.w3.org/1999/xlink";
const svgns = "http://www.w3.org/2000/svg"; const svgns = "http://www.w3.org/2000/svg";