1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-01 19:21:44 +02:00
gitea/web_src
silverwind 37205039fc
Replace clipboard.js with async clipboard api (#15899)
Use async clipboard api [1] over this dependency, saving around 10kB
bundle size before minify while delivering the same functionality.

The issue comment button works but does not have a popup indication. We
could add some toast-style notifications in the future to fix that but I
think it's out of scope of this PR.

[1] https://developer.mozilla.org/en-US/docs/Web/API/Clipboard/writeText
2021-05-30 20:15:57 +01:00
..
fomantic
js Replace clipboard.js with async clipboard api (#15899) 2021-05-30 20:15:57 +01:00
less
svg