aboutsummaryrefslogtreecommitdiff
path: root/node_modules/vuepress/lib/util/shared.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/vuepress/lib/util/shared.js')
-rw-r--r--node_modules/vuepress/lib/util/shared.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/node_modules/vuepress/lib/util/shared.js b/node_modules/vuepress/lib/util/shared.js
deleted file mode 100644
index 023f63bd..00000000
--- a/node_modules/vuepress/lib/util/shared.js
+++ /dev/null
@@ -1,7 +0,0 @@
-exports.compose = (...processors) => {
- if (processors.length === 0) return input => input
- if (processors.length === 1) return processors[0]
- return processors.reduce((prev, next) => {
- return (...args) => next(prev(...args))
- })
-}