some deletions
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / is-whitespace-character / index.js
diff --git a/.config/coc/extensions/node_modules/coc-prettier/node_modules/is-whitespace-character/index.js b/.config/coc/extensions/node_modules/coc-prettier/node_modules/is-whitespace-character/index.js
deleted file mode 100644 (file)
index 801c19f..0000000
+++ /dev/null
@@ -1,14 +0,0 @@
-'use strict'
-
-module.exports = whitespace
-
-var fromCode = String.fromCharCode
-var re = /\s/
-
-// Check if the given character code, or the character code at the first
-// character, is a whitespace character.
-function whitespace(character) {
-  return re.test(
-    typeof character === 'number' ? fromCode(character) : character.charAt(0)
-  )
-}