summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/lodash/internal/unescapeHtmlChar.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/lodash/internal/unescapeHtmlChar.js')
-rw-r--r--deps/npm/node_modules/lodash/internal/unescapeHtmlChar.js22
1 files changed, 0 insertions, 22 deletions
diff --git a/deps/npm/node_modules/lodash/internal/unescapeHtmlChar.js b/deps/npm/node_modules/lodash/internal/unescapeHtmlChar.js
deleted file mode 100644
index 28b345498d..0000000000
--- a/deps/npm/node_modules/lodash/internal/unescapeHtmlChar.js
+++ /dev/null
@@ -1,22 +0,0 @@
-/** Used to map HTML entities to characters. */
-var htmlUnescapes = {
- '&': '&',
- '&lt;': '<',
- '&gt;': '>',
- '&quot;': '"',
- '&#39;': "'",
- '&#96;': '`'
-};
-
-/**
- * Used by `_.unescape` to convert HTML entities to characters.
- *
- * @private
- * @param {string} chr The matched character to unescape.
- * @returns {string} Returns the unescaped character.
- */
-function unescapeHtmlChar(chr) {
- return htmlUnescapes[chr];
-}
-
-module.exports = unescapeHtmlChar;