|
|
@ -124,6 +124,11 @@ function escapeHtml(str) { |
|
|
|
|
|
|
|
////////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
function arrayReplaceAt(src, pos, newElements) { |
|
|
|
return [].concat(src.slice(0, pos), newElements, src.slice(pos + 1)); |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
exports.assign = assign; |
|
|
|
exports.isString = isString; |
|
|
|
exports.has = has; |
|
|
@ -132,3 +137,4 @@ exports.isValidEntityCode = isValidEntityCode; |
|
|
|
exports.fromCodePoint = fromCodePoint; |
|
|
|
exports.replaceEntities = replaceEntities; |
|
|
|
exports.escapeHtml = escapeHtml; |
|
|
|
exports.arrayReplaceAt = arrayReplaceAt; |
|
|
|