From 8c5299b183a05fd6ebe846c3db98cb207e066afd Mon Sep 17 00:00:00 2001 From: wxiaoguang Date: Fri, 10 Mar 2023 19:25:47 +0800 Subject: [PATCH] add comment for SVG --- web_src/js/svg.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web_src/js/svg.js b/web_src/js/svg.js index e77d45d4d6196..f19844b6a7ecc 100644 --- a/web_src/js/svg.js +++ b/web_src/js/svg.js @@ -86,7 +86,7 @@ const svgs = { 'octicon-organization': octiconOrganization, }; -// TODO: use a general approach to manage SVG icons +// TODO: use a more general approach to access SVG icons. At the moment, developers must check, pick and fill the names manually, most of the SVG icons in assets couldn't be used directly. const parser = new DOMParser(); const serializer = new XMLSerializer();