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 53ce49e commit 8c412f6Copy full SHA for 8c412f6
src/components/icon/request.ts
@@ -3,7 +3,7 @@ import { isEncodedDataUrl, isSvgDataUrl, validateContent } from './validate';
3
export const ioniconContent = new Map<string, string>();
4
const requests = new Map<string, Promise<any>>();
5
6
-let parser = new DOMParser();
+let parser: DOMParser;
7
8
export const getSvgContent = (url: string, sanitize: boolean) => {
9
// see if we already have a request for this url
0 commit comments