(text: string)
| 511 | } |
| 512 | |
| 513 | function insert(text: string) { |
| 514 | text = text |
| 515 | .replace(/&/g, '&') |
| 516 | .replace(/</g, '<') |
| 517 | .replace(/>/g, '>') |
| 518 | .replace(/"/g, '"') |
| 519 | .replace(/'/g, ''') |
| 520 | document.execCommand('insertHTML', false, text) |
| 521 | } |
| 522 | |
| 523 | function debounce(cb: any, wait: number) { |
| 524 | let timeout = 0 |
no outgoing calls
no test coverage detected