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/is-word-character/index.js')
-rw-r--r--assets/node_modules/is-word-character/index.js14
1 files changed, 0 insertions, 14 deletions
diff --git a/assets/node_modules/is-word-character/index.js b/assets/node_modules/is-word-character/index.js
deleted file mode 100644
index 8c3537f..0000000
--- a/assets/node_modules/is-word-character/index.js
+++ /dev/null
@@ -1,14 +0,0 @@
-'use strict'
-
-module.exports = wordCharacter
-
-var fromCode = String.fromCharCode
-var re = /\w/
-
-// Check if the given character code, or the character code at the first
-// character, is a word character.
-function wordCharacter(character) {
- return re.test(
- typeof character === 'number' ? fromCode(character) : character.charAt(0)
- )
-}