mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-11 03:17:49 +00:00
Bump to v4.14.0.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import basePropertyOf from './_basePropertyOf.js';
|
||||
|
||||
/** Used to map HTML entities to characters. */
|
||||
var htmlUnescapes = {
|
||||
'&': '&',
|
||||
@@ -15,8 +17,6 @@ var htmlUnescapes = {
|
||||
* @param {string} chr The matched character to unescape.
|
||||
* @returns {string} Returns the unescaped character.
|
||||
*/
|
||||
function unescapeHtmlChar(chr) {
|
||||
return htmlUnescapes[chr];
|
||||
}
|
||||
var unescapeHtmlChar = basePropertyOf(htmlUnescapes);
|
||||
|
||||
export default unescapeHtmlChar;
|
||||
|
||||
Reference in New Issue
Block a user