Apply let/const transform.

This commit is contained in:
John-David Dalton
2017-01-07 23:18:22 -08:00
parent 4c881b2726
commit 10f64ee9c4
103 changed files with 207 additions and 207 deletions

View File

@@ -1,7 +1,7 @@
import basePropertyOf from './_basePropertyOf.js';
/** Used to map characters to HTML entities. */
var htmlEscapes = {
const htmlEscapes = {
'&': '&',
'<': '&lt;',
'>': '&gt;',
@@ -16,6 +16,6 @@ var htmlEscapes = {
* @param {string} chr The matched character to escape.
* @returns {string} Returns the escaped character.
*/
var escapeHtmlChar = basePropertyOf(htmlEscapes);
const escapeHtmlChar = basePropertyOf(htmlEscapes);
export default escapeHtmlChar;