File tree 1 file changed +4
-5
lines changed
1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change 56
56
## Stargazers over time
57
57
58
58
[](https://starchart.cc/{{ .FullName }})
59
+
59
60
</ code >
60
61
< button class ="btn copy-btn " data-clipboard-target ="#code "> Copy</ button >
61
62
</ pre >
85
86
< script src ="https://cdnjs.cloudflare.com/ajax/libs/timeago.js/4.0.2/timeago.min.js "
86
87
integrity ="sha512-SVDh1zH5N9ChofSlNAK43lcNS7lWze6DTVx1JCXH1Tmno+0/1jMpdbR8YDgDUfcUrPp1xyE53G42GFrcM0CMVg== "
87
88
crossorigin ="anonymous " referrerpolicy ="no-referrer "> </ script >
88
- < script src ="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.1.0/languages/markdown.min.js "
89
- integrity ="sha512-ADxHovZZYEPiuBlIAejqh6IxCe+Vi7CIYVYpKyXtvain1hzK6DpYlQhoxwo0YBHv11Oj8N3jBqRCoOA8I8lXiw== "
90
- crossorigin ="anonymous " referrerpolicy ="no-referrer "> </ script >
91
89
< script src ="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.1.0/highlight.min.js "
92
90
integrity ="sha512-z+/WWfyD5tccCukM4VvONpEtLmbAm5LDu7eKiyMQJ9m7OfPEDL7gENyDRL3Yfe8XAuGsS2fS4xSMnl6d30kqGQ== "
93
91
crossorigin ="anonymous " referrerpolicy ="no-referrer "> </ script >
97
95
< script defer data-domain ="starchart.cc " src ="https://plausible.io/js/plausible.js "> </ script >
98
96
< script >
99
97
new ClipboardJS ( '.copy-btn' ) ;
100
- hljs . initHighlightingOnLoad ( ) ;
101
- timeago . render ( document . querySelectorAll ( 'time' ) ) ;
98
+ hljs . highlightAll ( ) ;
99
+ document . querySelectorAll ( 'time' ) . forEach ( t => timeago . render ( t ) ) ;
100
+ document . querySelectorAll ( 'input#repository' ) . forEach ( i => i . select ( ) ) ;
102
101
</ script >
103
102
</ body >
104
103
You can’t perform that action at this time.
0 commit comments