Bump to v4.14.0.

This commit is contained in:
John-David Dalton
2016-07-24 09:52:33 -07:00
parent 295d8cf415
commit a8d3718760
253 changed files with 2469 additions and 1808 deletions

View File

@@ -1,3 +1,5 @@
var basePropertyOf = require('./_basePropertyOf');
/** Used to map characters to HTML entities. */
var htmlEscapes = {
'&': '&',
@@ -15,8 +17,6 @@ var htmlEscapes = {
* @param {string} chr The matched character to escape.
* @returns {string} Returns the escaped character.
*/
function escapeHtmlChar(chr) {
return htmlEscapes[chr];
}
var escapeHtmlChar = basePropertyOf(htmlEscapes);
module.exports = escapeHtmlChar;