diff options
author | Stephen Finucane <stephen@that.guru> | 2017-06-09 18:18:04 +0100 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2017-06-14 09:38:08 +0100 |
commit | 02f8c2818bfd33bd02e8b6a64809a114f91c5000 (patch) | |
tree | 4a80901f6aef871c5da4d1cdf551a3c0bbbf1b22 /htdocs/README.rst | |
parent | 29e068a7e8f5777dc0486e32738f8a6942bb6e21 (diff) | |
download | patchwork-02f8c2818bfd33bd02e8b6a64809a114f91c5000.tar patchwork-02f8c2818bfd33bd02e8b6a64809a114f91c5000.tar.gz |
htdocs: Add clipboard.js
We provide our own, much smaller implementation of this currently.
However, we want to be able to implement slightly different variants of
this elsewhere and using an existing library helps avoid reinventing the
wheel and lets us use already battle-tested code.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Reviewed-by: Andrew Donnellan <andrew.donnellan@au1.ibm.com>
Diffstat (limited to 'htdocs/README.rst')
-rw-r--r-- | htdocs/README.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/htdocs/README.rst b/htdocs/README.rst index 513fb24..62f15c2 100644 --- a/htdocs/README.rst +++ b/htdocs/README.rst @@ -65,6 +65,16 @@ js Part of Patchwork. +``clipboard.min.js`` + + Modern copy to clipboard. No Flash. Just 3kb gzipped + + This is used to allow us to "click to copy" various elements in the UI. + + :Website: https://clipboardjs.com/ + :GitHub: https://github.com/zenorocha/clipboard.js/ + :Version: 1.7.1 + ``jquery.js`` jQuery is a fast, small, and feature-rich JavaScript library. It makes things |