diff options
Diffstat (limited to 'alarm/node_modules/lodash/_escapeHtmlChar.js')
-rw-r--r-- | alarm/node_modules/lodash/_escapeHtmlChar.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/alarm/node_modules/lodash/_escapeHtmlChar.js b/alarm/node_modules/lodash/_escapeHtmlChar.js deleted file mode 100644 index 7ca68ee..0000000 --- a/alarm/node_modules/lodash/_escapeHtmlChar.js +++ /dev/null @@ -1,21 +0,0 @@ -var basePropertyOf = require('./_basePropertyOf'); - -/** Used to map characters to HTML entities. */ -var htmlEscapes = { - '&': '&', - '<': '<', - '>': '>', - '"': '"', - "'": ''' -}; - -/** - * Used by `_.escape` to convert characters to HTML entities. - * - * @private - * @param {string} chr The matched character to escape. - * @returns {string} Returns the escaped character. - */ -var escapeHtmlChar = basePropertyOf(htmlEscapes); - -module.exports = escapeHtmlChar; |