(str)
| 964 | |
| 965 | var _divForHtmlEncoder = document.createElement("div"); |
| 966 | function htmlEncode(str) { |
| 967 | _divForHtmlEncoder.innerText = str; |
| 968 | return _divForHtmlEncoder.innerHTML; |
| 969 | } |
| 970 | |
| 971 | HTMLElement.prototype.one = function (evt, handler) { |
| 972 | function _onceHandler() { |
no outgoing calls
no test coverage detected