We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fab344a commit 2113977Copy full SHA for 2113977
src/fileAttachment.js
@@ -64,12 +64,6 @@ class AbstractFile {
64
const [JSZip, buffer] = await Promise.all([requireDefault(jszip.resolve()), this.arrayBuffer()]);
65
return new ZipArchive(await JSZip.loadAsync(buffer));
66
}
67
- async xml(mimeType = "application/xml") {
68
- return (new DOMParser).parseFromString(await this.text(), mimeType);
69
- }
70
- async html() {
71
- return this.xml("text/html");
72
73
74
75
class FileAttachment extends AbstractFile {
0 commit comments