()
| 118 | // Generate chart link with user data |
| 119 | |
| 120 | const generateLink = () => { |
| 121 | let link = `[}&color=${valueToCopy.color.slice( |
| 124 | 1 |
| 125 | )}&line=${valueToCopy.line.slice(1)}&point=${valueToCopy.point.slice( |
| 126 | 1 |
| 127 | )}&area=true&hide_border=true)](https://github.com/ashutosh00710/github-readme-activity-graph)`; |
| 128 | elements.textArea.value = link; |
| 129 | elements.copyText.childNodes[3].style.backgroundColor = 'rgb(87, 132, 245)'; |
| 130 | return link; |
| 131 | }; |
| 132 | |
| 133 | // Fetch user data and create graph |
| 134 |
no outgoing calls
no test coverage detected