« get me outta code hell

htmlify upd8.js, remove fix-whitespace dependency - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/util/sugar.js
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2022-11-20 14:31:17 -0400
committer(quasar) nebula <qznebula@protonmail.com>2022-11-20 14:31:35 -0400
commitb7633208507e3cd25ef7f7018759a0402c13a2f8 (patch)
tree8a735ecdb4c7f802320a0d8b26595171d8053656 /src/util/sugar.js
parente674b186ff755eaa8fb26f5885ac997e0ff0330e (diff)
htmlify upd8.js, remove fix-whitespace dependency
Diffstat (limited to 'src/util/sugar.js')
-rw-r--r--src/util/sugar.js6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/util/sugar.js b/src/util/sugar.js
index 8b59dee..c836d0c 100644
--- a/src/util/sugar.js
+++ b/src/util/sugar.js
@@ -47,12 +47,6 @@ export function accumulateSum(array, fn = x => x) {
 export const mapInPlace = (array, fn) =>
   array.splice(0, array.length, ...array.map(fn));
 
-export const filterEmptyLines = (string) =>
-  string
-    .split('\n')
-    .filter((line) => line.trim())
-    .join('\n');
-
 export const unique = (arr) => Array.from(new Set(arr));
 
 export const compareArrays = (arr1, arr2, {checkOrder = true} = {}) =>