From d67e9b9629557df1e355f0a864792c194b3e8848 Mon Sep 17 00:00:00 2001 From: John Olheiser <42128690+jolheiser@users.noreply.github.com> Date: Tue, 11 Feb 2020 19:53:18 -0600 Subject: SVG Octicon fixes (#10237) * SVG fixes Signed-off-by: jolheiser * Colorize span->svg only Signed-off-by: jolheiser * @silverwind suggestions Signed-off-by: jolheiser * Alphabetical Signed-off-by: jolheiser * Convert suburl and staticPrefix to window.config Signed-off-by: jolheiser * De-structure Signed-off-by: jolheiser Co-authored-by: Antoine GIRARD --- web_src/js/utils.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 web_src/js/utils.js (limited to 'web_src/js/utils.js') diff --git a/web_src/js/utils.js b/web_src/js/utils.js new file mode 100644 index 0000000000..2effddd685 --- /dev/null +++ b/web_src/js/utils.js @@ -0,0 +1,5 @@ +const { StaticUrlPrefix } = window.config; + +export function svg(name, size) { + return ``; +} -- cgit v1.2.3