()
| 1 | export function genId() { |
| 2 | let text = "ptro"; |
| 3 | const possible = |
| 4 | "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"; |
| 5 | for (let i = 0; i < 20; i += 1) { |
| 6 | text += possible.charAt(Math.floor(Math.random() * possible.length)); |
| 7 | } |
| 8 | return text; |
| 9 | } |
| 10 | |
| 11 | export function addDocumentObjectHelpers() { |
| 12 | if (!("documentOffsetTop" in Element.prototype)) { |
no outgoing calls
no test coverage detected
searching dependent graphs…