« get me outta code hell

all-in-one document mode & artist data - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-01-30 15:01:35 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-01-30 15:01:35 -0400
commitdfd84ead5bd5dfbcd7c25d08b816b28b4620ee5a (patch)
tree1e6ba1818f12171e3c0b5b37fbf0e8d4d6d14f2c /src/util
parentdccb3cd1312cfa9c2ea86eef6833a63b778de157 (diff)
all-in-one document mode & artist data
Diffstat (limited to 'src/util')
-rw-r--r--src/util/sugar.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/util/sugar.js b/src/util/sugar.js
index f5d1d29..774534c 100644
--- a/src/util/sugar.js
+++ b/src/util/sugar.js
@@ -35,11 +35,6 @@ export const unique = arr => Array.from(new Set(arr));
 // Stolen from jq! Which pro8a8ly stole the concept from other places. Nice.
 export const withEntries = (obj, fn) => Object.fromEntries(fn(Object.entries(obj)));
 
-// Nothin' more to it than what it says. Runs a function in-place. Provides an
-// altern8tive syntax to the usual IIFEs (e.g. (() => {})()) when you want to
-// open a scope and run some statements while inside an existing expression.
-export const call = fn => fn();
-
 export function queue(array, max = 50) {
     if (max === 0) {
         return array.map(fn => fn());