diff options
Diffstat (limited to 'alarm/node_modules/lodash/_escapeStringChar.js')
-rw-r--r-- | alarm/node_modules/lodash/_escapeStringChar.js | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/alarm/node_modules/lodash/_escapeStringChar.js b/alarm/node_modules/lodash/_escapeStringChar.js deleted file mode 100644 index 44eca96..0000000 --- a/alarm/node_modules/lodash/_escapeStringChar.js +++ /dev/null @@ -1,22 +0,0 @@ -/** Used to escape characters for inclusion in compiled string literals. */ -var stringEscapes = { - '\\': '\\', - "'": "'", - '\n': 'n', - '\r': 'r', - '\u2028': 'u2028', - '\u2029': 'u2029' -}; - -/** - * Used by `_.template` to escape characters for inclusion in compiled string literals. - * - * @private - * @param {string} chr The matched character to escape. - * @returns {string} Returns the escaped character. - */ -function escapeStringChar(chr) { - return '\\' + stringEscapes[chr]; -} - -module.exports = escapeStringChar; |