mirror of
https://github.com/fooflington/selfdefined.git
synced 2025-06-10 21:01:41 +00:00
update
This commit is contained in:
21
node_modules/lodash/_unescapeHtmlChar.js
generated
vendored
Normal file
21
node_modules/lodash/_unescapeHtmlChar.js
generated
vendored
Normal file
@ -0,0 +1,21 @@
|
||||
var basePropertyOf = require('./_basePropertyOf');
|
||||
|
||||
/** Used to map HTML entities to characters. */
|
||||
var htmlUnescapes = {
|
||||
'&': '&',
|
||||
'<': '<',
|
||||
'>': '>',
|
||||
'"': '"',
|
||||
''': "'"
|
||||
};
|
||||
|
||||
/**
|
||||
* Used by `_.unescape` to convert HTML entities to characters.
|
||||
*
|
||||
* @private
|
||||
* @param {string} chr The matched character to unescape.
|
||||
* @returns {string} Returns the unescaped character.
|
||||
*/
|
||||
var unescapeHtmlChar = basePropertyOf(htmlUnescapes);
|
||||
|
||||
module.exports = unescapeHtmlChar;
|
Reference in New Issue
Block a user