From b7633208507e3cd25ef7f7018759a0402c13a2f8 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sun, 20 Nov 2022 14:31:17 -0400 Subject: htmlify upd8.js, remove fix-whitespace dependency --- src/util/sugar.js | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/util/sugar.js') diff --git a/src/util/sugar.js b/src/util/sugar.js index 8b59deef..c836d0ce 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} = {}) => -- cgit 1.3.0-6-gf8a5