diff --git a/src/fileAttachment.js b/src/fileAttachment.js index ac2c4d44..5ae62c4e 100644 --- a/src/fileAttachment.js +++ b/src/fileAttachment.js @@ -64,12 +64,6 @@ class AbstractFile { const [JSZip, buffer] = await Promise.all([requireDefault(jszip.resolve()), this.arrayBuffer()]); return new ZipArchive(await JSZip.loadAsync(buffer)); } - async xml(mimeType = "application/xml") { - return (new DOMParser).parseFromString(await this.text(), mimeType); - } - async html() { - return this.xml("text/html"); - } } class FileAttachment extends AbstractFile {