From abd94a7f5a50f43c797a11b53549ae48fff667c3 Mon Sep 17 00:00:00 2001 From: Florian Dold Date: Mon, 10 Oct 2016 03:43:44 +0200 Subject: add node_modules to address #4364 --- node_modules/lodash._escapehtmlchar/index.js | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 node_modules/lodash._escapehtmlchar/index.js (limited to 'node_modules/lodash._escapehtmlchar/index.js') diff --git a/node_modules/lodash._escapehtmlchar/index.js b/node_modules/lodash._escapehtmlchar/index.js new file mode 100644 index 000000000..ce4e6d8ea --- /dev/null +++ b/node_modules/lodash._escapehtmlchar/index.js @@ -0,0 +1,22 @@ +/** + * Lo-Dash 2.4.1 (Custom Build) + * Build: `lodash modularize modern exports="npm" -o ./npm/` + * Copyright 2012-2013 The Dojo Foundation + * Based on Underscore.js 1.5.2 + * Copyright 2009-2013 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors + * Available under MIT license + */ +var htmlEscapes = require('lodash._htmlescapes'); + +/** + * Used by `escape` to convert characters to HTML entities. + * + * @private + * @param {string} match The matched character to escape. + * @returns {string} Returns the escaped character. + */ +function escapeHtmlChar(match) { + return htmlEscapes[match]; +} + +module.exports = escapeHtmlChar; -- cgit v1.2.3