From b1ec23e3579b1528e6e7eb12f5c9f89793b5390e Mon Sep 17 00:00:00 2001 From: alyx Date: Tue, 31 May 2022 15:15:17 +0000 Subject: moved some stuff around, updated circuitsv2.json, linked the grapher from the searcher --- lib/util.js | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 lib/util.js (limited to 'lib/util.js') diff --git a/lib/util.js b/lib/util.js new file mode 100644 index 0000000..fe9e5b7 --- /dev/null +++ b/lib/util.js @@ -0,0 +1,5 @@ +function newEl(name, Class) { + ret = document.createElement(name); + if (Class) ret.classList.add(Class); + return ret; +} \ No newline at end of file -- cgit v1.2.3-54-g00ecf