Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/fourtyone11/origin-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'assets/node_modules/unist-util-remove-position/index.js')
-rw-r--r--assets/node_modules/unist-util-remove-position/index.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/assets/node_modules/unist-util-remove-position/index.js b/assets/node_modules/unist-util-remove-position/index.js
deleted file mode 100644
index 0963959..0000000
--- a/assets/node_modules/unist-util-remove-position/index.js
+++ /dev/null
@@ -1,18 +0,0 @@
-'use strict'
-
-var visit = require('unist-util-visit')
-
-module.exports = removePosition
-
-function removePosition(node, force) {
- visit(node, force ? hard : soft)
- return node
-}
-
-function hard(node) {
- delete node.position
-}
-
-function soft(node) {
- node.position = undefined
-}