add hw2
This commit is contained in:
		
							
								
								
									
										21
									
								
								node_modules/lodash-es/_escapeHtmlChar.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										21
									
								
								node_modules/lodash-es/_escapeHtmlChar.js
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,21 @@ | ||||
| import basePropertyOf from './_basePropertyOf.js'; | ||||
|  | ||||
| /** Used to map characters to HTML entities. */ | ||||
| var htmlEscapes = { | ||||
|   '&': '&', | ||||
|   '<': '<', | ||||
|   '>': '>', | ||||
|   '"': '"', | ||||
|   "'": ''' | ||||
| }; | ||||
|  | ||||
| /** | ||||
|  * Used by `_.escape` to convert characters to HTML entities. | ||||
|  * | ||||
|  * @private | ||||
|  * @param {string} chr The matched character to escape. | ||||
|  * @returns {string} Returns the escaped character. | ||||
|  */ | ||||
| var escapeHtmlChar = basePropertyOf(htmlEscapes); | ||||
|  | ||||
| export default escapeHtmlChar; | ||||
		Reference in New Issue
	
	Block a user
	 nik
					nik